/// <summary> /// Initializes a new instance of the <see cref="BasicAuthentication"/> class. /// </summary> /// <param name="authenticator">Delegate used to provide information used during authentication.</param> /// <param name="authRequiredDelegate">Delegate used to determine if authentication is required (may be null).</param> public BasicAuthentication(AuthenticationHandler authenticator, AuthRequiredDelegate authRequiredDelegate) : base(authenticator, authRequiredDelegate) { }
/// <summary> /// Initializes a new instance of the <see cref="DigestAuthentication"/> class. /// </summary> /// <param name="authenticator">Delegate used to provide information used during authentication.</param> /// <param name="authRequiredDelegate">Delegate used to determine if authentication is required (may be null).</param> public DigestAuthentication(AuthenticationHandler authenticator, AuthRequiredDelegate authRequiredDelegate) : base(authenticator, authRequiredDelegate) { }
/// <summary> /// Initializes a new instance of the <see cref="AuthModule"/> class. /// </summary> /// <param name="authenticator">Delegate used to provide information used during authentication.</param> /// <param name="authRequiredDelegate">Delegate used to determine if authentication is required (may be null).</param> protected AuthModule(AuthenticationHandler authenticator, AuthRequiredDelegate authRequiredDelegate) { Check.Require(authenticator, "authenticator"); _authRequiredDelegate = authRequiredDelegate; _authenticator = authenticator; }