Table of Contents

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

string

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

string

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

string

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

string

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

string

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

string

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"

Field Value

string