Table of Contents

Class OidcConstants.TokenRequest

Namespace
Fdyay.IdentityServer
Assembly
Fdyay.IdentityServer.Core.dll

Parameters of a token request (RFC 6749 §4 and §6, and the extensions each member names).

public static class OidcConstants.TokenRequest
Inheritance
OidcConstants.TokenRequest
Inherited Members

Fields

AuthenticationRequestId

OpenID Connect CIBA Core 1.0 §10.1: the handle a CIBA client polls with.

public const string AuthenticationRequestId = "auth_req_id"

Field Value

string

ClientAssertion

RFC 7521 §4.2: the assertion the client authenticates with, such as a signed JWT.

public const string ClientAssertion = "client_assertion"

Field Value

string

ClientAssertionType

RFC 7521 §4.2: the format of ClientAssertion; see OidcConstants.ClientAssertionTypes.

public const string ClientAssertionType = "client_assertion_type"

Field Value

string

ClientId

RFC 6749 §4.1.3: the client making the request, when it is not identified by its authentication.

public const string ClientId = "client_id"

Field Value

string

ClientSecret

RFC 6749 §2.3.1: the client's secret, sent in the form body (client_secret_post).

public const string ClientSecret = "client_secret"

Field Value

string

Code

RFC 6749 §4.1.3: the authorization code being redeemed.

public const string Code = "code"

Field Value

string

CodeVerifier

RFC 7636 §4.5: the PKCE verifier that must match the authorization request's code_challenge.

public const string CodeVerifier = "code_verifier"

Field Value

string

DeviceCode

RFC 8628 §3.4: the device code being redeemed.

public const string DeviceCode = "device_code"

Field Value

string

GrantType

RFC 6749 §4.1.3: which grant the request redeems; see OidcConstants.GrantTypes.

public const string GrantType = "grant_type"

Field Value

string

RedirectUri

RFC 6749 §4.1.3: the redirect URI the code was issued to; must match the authorization request's when that named one.

public const string RedirectUri = "redirect_uri"

Field Value

string

RefreshToken

RFC 6749 §6: the refresh token being redeemed.

public const string RefreshToken = "refresh_token"

Field Value

string

Resource

RFC 8707 §2: the API the issued access token is for.

public const string Resource = "resource"

Field Value

string

Scope

RFC 6749 §3.3: the scopes asked for, space-separated.

public const string Scope = "scope"

Field Value

string

SubjectToken

RFC 8693 §2.1: the token being exchanged.

public const string SubjectToken = "subject_token"

Field Value

string

SubjectTokenType

RFC 8693 §2.1: what kind of token SubjectToken is.

public const string SubjectTokenType = "subject_token_type"

Field Value

string