Пример #1
0
 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;
 }
Пример #2
0
 public ValidJtiHandler(IDeletedTokenRepository deletedTokenRepository, IDeletedTokenCache deletedTokenCache)
 {
     _deletedTokenRepository = deletedTokenRepository;
     _deletedTokenCache      = deletedTokenCache;
 }