/// <summary> /// Create a new instance of the <see cref="HmacAuthenticationHandler"/> class. /// </summary> /// <param name="logger"></param> /// <param name="authenticator"></param> public HmacAuthenticationHandler(ILogger logger, IHmacAuthenticator authenticator) { this.logger = logger; this.authenticator = authenticator; }
public HmacAuthenticationHandler(IHmacAuthenticator authenticator, IOptionsMonitor <HmacAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock) { this.authenticator = authenticator; }