Networking System [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ] 1.0.x.x 1.0.5000.0 2.0.0.0

Implemented by types that perform client authentication.

The interface defines the properties and methods that types are required to implement to handle client authentication. Types that implement this interface are called authentication modules. In addition to implementing this interface, an authentication module implements an authentication protocol, such as the Kerberos protocol. The property value is a case-insensitive string that typically indicates the protocol implemented by the module. Each authentication module registered with the authentication manager is required to have a unique . The following string values are reserved for use by modules implementing the indicated protocols:

AuthenticationType
Protocol

"basic"

Basic as defined by IETF RFC 2617
"digest"
Digest access as defined by IETF RFC 2617
"kerberos"
Kerberos as defined by IETF RFC 1510

Authentication modules are registered with the authentication manager ( ) by calling the method. When the authentication manager receives an authentication request, registered authentication modules are given the opportunity to handle the authentication in their method. Similarly, when a client wishes to avoid waiting for the server to request authentication, it can request preauthentication information to send with a request. If the property of a registered module returns , it is among the modules that are given the opportunity to provide the preauthentication information via the

method.

Not all modules receive all authentication and preauthentication requests. The authentication manager searches for an authentication module by invoking the or method of each registered module in the order in which it was registered. Once a module returns a

instance, indicating that it handles the authentication, the authentication manager terminates the search.

- Method
  System.Net.Authorization `` `` `` A containing the authentication challenge sent by the server. The content of this string is determined by the authentication protocol(s) used by the server that issued the challenge. The instance that received . The credentials of the instance that received .

  Returns an instance of the class that provides a response to an authentication challenge.

  A instance containing the challenge response, or if the challenge cannot be handled.

  If the authentication module can handle , this method proceeds with the authentication in accordance with the authentication protocol implemented by the current instance and returns a instance containing the challenge response. If the authentication module cannot handle the challenge, this method returns . If the authentication module encounters an error while conducting the authentication process, this method can, but is not required to throw an exception.

  Implement this method to receive and optionally handle requests for client authentication from the authentication manager.

  The class invokes the method on registered authentication modules to allow modules to handle a server challenge.

  0
  1.0.5000.0
  2.0.0.0
- Property
  System.String

  Gets the authentication type of the current instance.

  A indicating the authentication type of the current authentication module.

  This property is read-only.

  The following string values are reserved for use by modules implementing the indicated protocols:

  AuthenticationType
  Protocol
  "basic"
  Basic as defined by IETF RFC 2617
  "digest"
  Digest access as defined by IETF RFC 2617
  "kerberos"
  Kerberos as defined by IETF RFC 1510 Implement this property to return a string that identifies all instances of the current type. The string returned by this property typically indicates the protocol implemented by the current type. For example, an authentication module that implements the Digest protocol would typically return "digest" as its .

  The property must be unique for all registered authentication modules. The value of this property is used by the method to determine if there is already an authentication module registered for the type. Modules can also be unregistered by passing the value of this property to the method.

0
1.0.5000.0
2.0.0.0
- Property
  System.Boolean

  Gets a value indicating whether the authentication module supports preauthentication.

  if the authentication module supports preauthentication; otherwise .

  This property is read-only.

  The property is set to to indicate that the authentication module can respond with a instance when the method is called. This property returns if the protocol implemented by the current authentication module does not support preauthentication.

  This method is used by the authentication manager to determine which modules receive requests by clients for authentication information that will be supplied in anticipation of a server's request for authentication. This method controls whether the method can be called.

  0
  1.0.5000.0
  2.0.0.0
- Method
  System.Net.Authorization `` `` The instance associated with the authentication request. The credentials associated with the authentication request.

  Returns an instance of the class containing client authentication information.

  A instance containing client authentication information to be sent with , or if the current instance does not support preauthentication.

  This method returns an instance of the class containing authentication information to be sent with the request. This method is required to return if it cannot handle preauthentication requests from the authentication manager.

  Implement this method if the protocol implemented by the current instance supports preauthentication.

  This method is used by the authentication manager to handle requests by clients for authentication information that will be used to preempt a server's request for authentication. This method is not called unless the property returns .

  0
  1.0.5000.0
  2.0.0.0
0