示例#1
0
 public AuthorizationController(IAuthorizationControllerService authorizationControllerService, ITokenHandlerService tokenHandlerService)
 {
     _autorizationControllerService = authorizationControllerService;
     _tokenHandlerService           = tokenHandlerService;
 }
示例#2
0
 public AuthController(IConfiguration configuration, ITokenHandlerService tokenHandlerService)
 {
     _configuration       = configuration;
     _tokenHandlerService = tokenHandlerService;
 }
 public TokenAuthenticationHandler(IOptionsMonitor <TokenAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock, ITokenHandlerService tokenHandlerService, ApplicationDbContext context) : base(options, logger, encoder, clock)
 {
     _tokenHandlerService = tokenHandlerService;
     _context             = context;
 }