Calls each registered authentication module to find the first module that can respond to the authentication request.
Assembly: System (in System.dll)
public: static Authorization^ Authenticate( String^ challenge, WebRequest^ request, ICredentials^ credentials )
- Type: System::String
The challenge returned by the Internet resource.
challenge is nullptr.
request is nullptr.
credentials is nullptr.
The first Authorization instance returned is used to authenticate the request. If no authentication module can authenticate the request, the method returns nullptr.
Authentication modules are called in the order in which they are registered with the AuthenticationManager.