Table of Contents

Class HmacFields

Namespace
Cuemon.AspNetCore.Authentication.Hmac
Assembly
Cuemon.AspNetCore.Authentication.dll

A collection of constants for HmacAuthorizationHeaderBuilder and related.

public static class HmacFields
Inheritance
HmacFields

Fields

CanonicalRequest

The parts of the canonical request.

public const string CanonicalRequest = "canonicalRequest"

Field Value

String

ClientId

The public key of the signing process.

public const string ClientId = "clientId"

Field Value

String

ClientSecret

The private key of the signing process.

public const string ClientSecret = "clientSecret"

Field Value

String

CredentialScope

The credential scope that defines the remote resource.

public const string CredentialScope = "credentialScope"

Field Value

String

HttpHeaders

The canonical headers.

public const string HttpHeaders = "canonicalHeaders"

Field Value

String

HttpHeadersDelimiter

The delimiter used to separate the key-value pairs of HttpHeaders.

public const char HttpHeadersDelimiter = ':'

Field Value

Char

HttpMethod

The HTTP request method.

public const string HttpMethod = "httpRequestMethod"

Field Value

String

Payload

The request payload.

public const string Payload = "requestPayload"

Field Value

String

Scheme

The default authentication scheme of the HmacAuthorizationHeader.

public const string Scheme = "HMAC"

Field Value

String

Remarks

ServerDateTime

The server date time expressed in ISO 8601 format.

public const string ServerDateTime = "serverDateTime"

Field Value

String

SignedHeaders

The headers that must be part of the signing process.

public const string SignedHeaders = "signedHeaders"

Field Value

String

SignedHeadersDelimiter

The delimiter used to separate the SignedHeaders.

public const char SignedHeadersDelimiter = ';'

Field Value

Char

StringToSign

The parts of the string to sign.

public const string StringToSign = "stringToSign"

Field Value

String

UriPath

The canonical URI that is the URI-encoded version of the absolute path component of an URI.

public const string UriPath = "canonicalUri"

Field Value

String

UriQuery

The canonical query string.

public const string UriQuery = "canonicalQueryString"

Field Value

String