CredentialAuthenticator¶
An IAuthenticator implementation for HTTP Basic or Digest authentication.
Fields:¶
Credentials Credentials¶
- Gets or sets the Credentials associated with this authenticator.
Methods:¶
Void SetupRequest(HTTPRequest)¶
- Sets up the required headers for the HTTP request based on the provided credentials.
Boolean HandleChallange(HTTPRequest, HTTPResponse)¶
- Handles the server response with a 401 (Unauthorized) status code and a WWW-Authenticate header. The authenticator might determine the authentication method to use and initiate authentication if needed.