Returns an instance of the System.Net.Authorization class for an authentication request to a server.
- request
- The System.Net.WebRequest instance associated with the authentication request.
- credentials
- The credentials associated with the authentication request.
An System.Net.Authorization instance containing the authorization message for the request.
When the IAuthenticationModule.CanPreAuthenticate property is true, the IAuthenticationModule.PreAuthenticate(WebRequest, ICredentials) method will return an instance of the System.Net.Authorization class containing an authentication message.