Class AuthSchemes
- Namespace
- Kampute.HttpClient
- Assembly
- Kampute.HttpClient.dll
Provides constants for common HTTP authentication schemes.
public static class AuthSchemes
- Inheritance
-
AuthSchemes
- Inherited Members
Fields
AWS4HMACSHA256
The AWS4-HMAC-SHA256 authentication scheme. This scheme is specific to Amazon Web Services and is used for signing API requests.
public const string AWS4HMACSHA256 = "AWS4-HMAC-SHA256"
Field Value
ApiKey
The API Key authentication scheme. In this scheme, a secret API key is included in the HTTP request.
public const string ApiKey = "ApiKey"
Field Value
Basic
The Basic authentication scheme as defined in RFC 7617. This scheme transmits credentials as user ID/password pairs, encoded using Base64.
public const string Basic = "Basic"
Field Value
Bearer
The Bearer authentication scheme as defined in RFC 6750. This scheme is typically used with OAuth 2.0. The bearer token is a cryptic string, usually generated by the server in response to a login request.
public const string Bearer = "Bearer"
Field Value
Digest
The Digest authentication scheme as defined in RFC 7616. This scheme is an enhancement of the Basic scheme, providing a more secure approach to user authentication.
public const string Digest = "Digest"
Field Value
HOBA
The HOBA (HTTP Origin-Bound Authentication) scheme as defined in RFC 7486. This scheme is a token-based authentication method that binds a token to the origin of the HTTP request.
public const string HOBA = "HOBA"
Field Value
Mutual
The Mutual authentication scheme. This scheme is a method where both the client and server authenticate each other. Note that this is not defined in an RFC and the usage may vary.
public const string Mutual = "Mutual"