public TokenController(ILogger <TokenController> logger,
                        IUnitOfWork <CompanyContext> unitOfWork,
                        IUserRepository userRepository,
                        ILoginRepository loginRepository,
                        IDeletedTokenRepository deletedTokenRepository,
                        IDeletedTokenCache deletedTokenCache)
 {
     _logger                 = logger;
     _unitOfWork             = unitOfWork;
     _userRepository         = userRepository;
     _loginRepository        = loginRepository;
     _deletedTokenRepository = deletedTokenRepository;
     _deletedTokenCache      = deletedTokenCache;
 }
Beispiel #2
0
 public ValidJtiHandler(IDeletedTokenRepository deletedTokenRepository, IDeletedTokenCache deletedTokenCache)
 {
     _deletedTokenRepository = deletedTokenRepository;
     _deletedTokenCache      = deletedTokenCache;
 }