/// <summary> /// Base auth handler constructor /// </summary> /// <param name="options">IOptionsMonitor</param> /// <param name="logger">ILoggerFactory</param> /// <param name="encoder">UrlEncoder</param> /// <param name="clock">ISystemClock</param> /// <param name="registerService">IRegisterService</param> public BaseAuthHandler (IOptionsMonitor <AuthenticationSchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock, IRegisterDbService registerService ) : base(options, logger, encoder, clock) { this.options = options; this.logger = logger; this.encoder = encoder; this.clock = clock; this.registerService = registerService; }
/// <summary> /// Auth controller constructor. /// </summary> /// <param name="registerService">IRegisterService.</param> public AuthController(IRegisterDbService registerService) { this.registerService = registerService; }