Esempio n. 1
0
 public AuthHandler(
     IOptionsMonitor <AuthenticationSchemeOptions> options,
     ILoggerFactory logger,
     UrlEncoder encoder,
     ISystemClock clock,
     ILoginJWT loginJWT,
     IUserRepository userRepository) : base(options, logger, encoder, clock)
 {
     _userRepository = userRepository;
     _loginJWT       = loginJWT;
 }
Esempio n. 2
0
 public AccountController(IAuthOptions authOptions, ILoginJWT loginJWT)
 {
     _authOptions = authOptions;
     _loginJWT    = loginJWT;
 }