예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthenticationModule"/> class.
 /// </summary>
 /// <param name="authenticator">Delegate used to provide information used during authentication.</param>
 /// <param name="authenticationRequiredHandler">Delegate used to determine if authentication is required (may be null).</param>
 protected AuthenticationModule(
     AuthenticationHandler authenticator, AuthenticationRequiredHandler authenticationRequiredHandler)
 {
   Check.Require(authenticator, "authenticator");
   _authenticationRequiredHandler = authenticationRequiredHandler;
   _authenticator = authenticator;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthenticationModule"/> class.
 /// </summary>
 /// <param name="authenticator">Delegate used to provide information used during authentication.</param>
 /// <param name="authenticationRequiredHandler">Delegate used to determine if authentication is required (may be null).</param>
 protected AuthenticationModule(
     AuthenticationHandler authenticator, AuthenticationRequiredHandler authenticationRequiredHandler)
 {
     Check.Require(authenticator, "authenticator");
     _authenticationRequiredHandler = authenticationRequiredHandler;
     _authenticator = authenticator;
 }
 /// <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="authenticationRequiredHandler">Delegate used to determine if authentication is required (may be null).</param>
 public DigestAuthentication(AuthenticationHandler authenticator, AuthenticationRequiredHandler authenticationRequiredHandler)
     : base(authenticator, authenticationRequiredHandler)
 {
 }
예제 #4
0
 /// <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="authenticationRequiredHandler">Delegate used to determine if authentication is required (may be null).</param>
 public DigestAuthentication(AuthenticationHandler authenticator, AuthenticationRequiredHandler authenticationRequiredHandler) 
     : base(authenticator, authenticationRequiredHandler)
 {
 }
 /// <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="authenticationRequiredHandler">Delegate used to determine if authentication is required (may be null).</param>
 public BasicAuthentication(AuthenticationHandler authenticator, AuthenticationRequiredHandler authenticationRequiredHandler)
     : base(authenticator, authenticationRequiredHandler)
 {
 }
예제 #6
0
 /// <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="authenticationRequiredHandler">Delegate used to determine if authentication is required (may be null).</param>
 public BasicAuthentication(AuthenticationHandler authenticator, AuthenticationRequiredHandler authenticationRequiredHandler)
     : base(authenticator, authenticationRequiredHandler)
 {
 }