/// <summary> /// Initializes a new instance of the <see cref="SignatureHandler"/> class. /// </summary> /// <param name="validator">Used to validate signatures.</param> /// <param name="options">The signature options.</param> /// <param name="logger">A factory used to create logger instances.</param> /// <param name="encoder">A URL encoder.</param> /// <param name="clock">Used to get the current time.</param> public SignatureHandler(HttpSignatureValidator validator, IOptionsMonitor <SignatureHandlerOptions> options, ILoggerFactory logger, System.Text.Encodings.Web.UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock) : base(options, logger, encoder, clock) { Validator = validator; }
public BasicAuthenticationHandler( IOptionsMonitor <AuthenticationSchemeOptions> options, ILoggerFactory logger, UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock, IUserService userService) : base(options, logger, encoder, clock) { _userService = userService; }
public NothingHandler(IOptionsMonitor <NothingOptions> options, ILoggerFactory logger, UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock) : base(options, logger, encoder, clock) { }
public ImpersonationAuthenticationHandler(IOptionsMonitor <ImpersonationBearerOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock) : base(options, logger, encoder, clock) { }
public SignedRequestAuthenticationHandlerForTests(IOptionsMonitor <SignedRequestAuthenticationOptions> options, UrlEncoder encoder, Microsoft.AspNetCore.Authentication.ISystemClock clock, IRequestSignatureVerifier requestSignatureVerifier, ILoggerFactory logger = null) : base(options, encoder, clock, requestSignatureVerifier, logger) { }