Manager. Authenticate(String, WebRequest, ICredentials) Method
Calls each registered authentication module to find the first module that can respond to the authentication request.
public: static System::Net::Authorization ^ Authenticate(System::String ^ challenge, System::Net::WebRequest ^ request, System::Net::ICredentials ^ credentials);
public static System.Net.Authorization Authenticate (string challenge, System.Net.WebRequest request, System.Net.ICredentials credentials);
static member Authenticate : string * System.Net.WebRequest * System.Net.ICredentials -> System.Net.Authorization
Public Shared Function Authenticate (challenge As String, request As WebRequest, credentials As ICredentials) As Authorization
The challenge returned by the Internet resource.
An instance of the Authorization class containing the result of the authorization attempt. If there is no authentication module to respond to the challenge, this method returns
Authentication modules are called in the order in which they are registered with the AuthenticationManager.