Table of Contents

Class TokenKeys

Namespace
Arc4u.OAuth2.Token
Assembly
Arc4u.OAuth2.dll

The keys of the key/value settings that configure the token providers.

public class TokenKeys
Inheritance
TokenKeys
Inherited Members

Fields

ApplicationKey

Application key used to certify the caller (User or Application). Not read by the token providers of this repository.

public const string ApplicationKey = "ApplicationKey"

Field Value

string

Audience

A string containing the audience when used as a client calling the sts. Not read by the token providers of this repository.

public const string Audience = "Audience"

Field Value

string

Audiences

A string containing the accepted audiences separated by a space.

public const string Audiences = "Audiences"

Field Value

string

AuthenticationTypeKey

The authentication type of the identities the settings apply to: OAuth2 (bearer), Cookies or Inject (see Constants).

public const string AuthenticationTypeKey = "AuthenticationType"

Field Value

string

AuthorityKey

The STS authority

public const string AuthorityKey = "Authority"

Field Value

string

CertificateName

The certificate name or friendly name. Not read by the token providers of this repository.

public const string CertificateName = "CertificateName"

Field Value

string

ClientIdKey

The ClientId used to identify the client definition in the sts.

public const string ClientIdKey = "ClientId"

Field Value

string

ClientSecret

The shared key used to authenticate a process.

public const string ClientSecret = "ClientSecret"

Field Value

string

ClientSecretHeader

Header to use when injecting the client secret.

public const string ClientSecretHeader = "HeaderKey"

Field Value

string

ExtraParameters

Open bag of extra request parameters (form-url-encoded) forwarded to the token endpoint, e.g. the Logto.io 'resource' or 'audience' parameters.

public const string ExtraParameters = "ExtraParameters"

Field Value

string

FindType

The certificate type. Not read by the token providers of this repository.

public const string FindType = "FindType"

Field Value

string

HttpClientName

Http factory name IHttpClientFactory given in settings to create an HttpClient

public const string HttpClientName = "HttpClientName"

Field Value

string

InstanceKey

The Sts provider. Not read by the token providers of this repository.

public const string InstanceKey = "Instance"

Field Value

string

PasswordStoreKey

Key used to store a user and password in a secure cache.

public const string PasswordStoreKey = "PasswordStoreKey"

Field Value

string

ProviderIdKey

The key of the ITokenProvider (registered as a keyed service) that handles the settings, for example Oidc, Obo or Credential.

public const string ProviderIdKey = "ProviderId"

Field Value

string

RedirectUrl

The url registered in the sts.

public const string RedirectUrl = "RedirectUrl"

Field Value

string

RootServiceUrlKey

The token will be used to identify the caller from a sevice => this is the root of the uri.

public const string RootServiceUrlKey = "RootServiceUrl"

Field Value

string

Scope

The scopes requested to the sts, separated by a space.

public const string Scope = "Scope"

Field Value

string

Scopes

Scopes defined to identify the right(s) to a sts to access the requested resource. Read by the MSAL token provider; the providers of the OAuth2 packages use Scope.

public const string Scopes = "Scopes"

Field Value

string

ServiceApplicationIdKey

The application unique Id used to identify in the STS the application.

public const string ServiceApplicationIdKey = "ServiceApplicationId"

Field Value

string

StoreLocation

The certificate store location (Current user or Machine). Not read by the token providers of this repository.

public const string StoreLocation = "StoreLocation"

Field Value

string

StoreName

The certificate folder where the certificate is stored. Not read by the token providers of this repository.

public const string StoreName = "StoreName"

Field Value

string

TenantIdKey

The identity provider id. Not read by the token providers of this repository.

public const string TenantIdKey = "TenantId"

Field Value

string

TokenRequestUrl

Url used to contact an external token identity provider.

public const string TokenRequestUrl = "TokenRequestUrl"

Field Value

string