Class TokenKeys
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
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
Audiences
A string containing the accepted audiences separated by a space.
public const string Audiences = "Audiences"
Field Value
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
AuthorityKey
The STS authority
public const string AuthorityKey = "Authority"
Field Value
CertificateName
The certificate name or friendly name. Not read by the token providers of this repository.
public const string CertificateName = "CertificateName"
Field Value
ClientIdKey
The ClientId used to identify the client definition in the sts.
public const string ClientIdKey = "ClientId"
Field Value
ClientSecret
The shared key used to authenticate a process.
public const string ClientSecret = "ClientSecret"
Field Value
ClientSecretHeader
Header to use when injecting the client secret.
public const string ClientSecretHeader = "HeaderKey"
Field Value
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
FindType
The certificate type. Not read by the token providers of this repository.
public const string FindType = "FindType"
Field Value
HttpClientName
Http factory name IHttpClientFactory given in settings to create an HttpClient
public const string HttpClientName = "HttpClientName"
Field Value
InstanceKey
The Sts provider. Not read by the token providers of this repository.
public const string InstanceKey = "Instance"
Field Value
PasswordStoreKey
Key used to store a user and password in a secure cache.
public const string PasswordStoreKey = "PasswordStoreKey"
Field Value
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
RedirectUrl
The url registered in the sts.
public const string RedirectUrl = "RedirectUrl"
Field Value
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
Scope
The scopes requested to the sts, separated by a space.
public const string Scope = "Scope"
Field Value
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
ServiceApplicationIdKey
The application unique Id used to identify in the STS the application.
public const string ServiceApplicationIdKey = "ServiceApplicationId"
Field Value
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
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
TenantIdKey
The identity provider id. Not read by the token providers of this repository.
public const string TenantIdKey = "TenantId"
Field Value
TokenRequestUrl
Url used to contact an external token identity provider.
public const string TokenRequestUrl = "TokenRequestUrl"