Mono Class Library: System.Net.IAuthenticationModule Overview | MembersSystem.Net.IAuthenticationModule.PreAuthenticate Method |
Returns an instance of the System.Net.Authorization class containing client authentication information. [Edit]
|
- request
- The System.Net.WebRequest instance associated with the authentication request. [Edit]
- credentials
- The credentials associated with the authentication request. [Edit]
A System.Net.Authorization instance containing client authentication information to be sent with request, or null if the current instance does not support preauthentication. [Edit]
Operation
This method returns an instance of the System.Net.Authorization class containing authentication information to be sent with the request. This method is required to return null if it cannot handle preauthentication requests from the authentication manager.Note to Inheritors
Implement this method if the protocol implemented by the current instance supports preauthentication.Usage
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 IAuthenticationModule.CanPreAuthenticate property returns true.[Edit]
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0