public NormalAuthAuthenticationHandler( IOptionsMonitor <NormalAuthAuthenticationOptions> options, ILoggerFactory logger, TokenHelper tokenHelper, UrlEncoder encoder, ISystemClock clock, IGetNormalUser getNormalUser) : base(options, logger, encoder, clock) { _getNormalUser = getNormalUser ?? throw new ArgumentNullException(nameof(getNormalUser)); _tokenHelper = tokenHelper; }
public SecurityController(IMemoryCache cache, IGetNormalUser getNormalUser, TokenHelper tokenHelper) { _cache = cache; _getNormalUser = getNormalUser; _tokenHelper = tokenHelper; }