Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Duende.​IdentityServer.​Validation.​ValidatedTokenRequest

Assembly: Duende.IdentityServer

Inheritance: object → ValidatedRequest → ValidatedTokenRequest

Models a validated request to the token endpoint.

Properties

public string
GrantType
Gets or sets the type of the grant.
RequestedScopes
Gets or sets the scopes.
public string
RequestedResourceIndicator
Gets or sets the resource indicator.
public string
UserName
Gets or sets the username used in the request.
RefreshToken
Gets or sets the refresh token.
public string
RefreshTokenHandle
Gets or sets the refresh token handle.
AuthorizationCode
Gets or sets the authorization code.
public string
AuthorizationCodeHandle
Gets or sets the authorization code handle.
public string
CodeVerifier
Gets or sets the code verifier.
DeviceCode
Gets or sets the device code.
BackChannelAuthenticationRequest
Gets or sets the backchannel authentication request.
public string
ProofKeyThumbprint
The thumbprint of the associated proof key, if one was used.
Gets or sets the raw request data
Client
Gets or sets the client.
public string
IssuerName
The name of the issuer for the current request
Secret
Gets or sets the secret used to authenticate the client.
public int
AccessTokenLifetime
Gets or sets the effective access token lifetime for the current request. This value is initally read from the client configuration but can be modified in the request pipeline
Gets or sets the client claims for the current request. This value is initally read from the client configuration but can be modified in the request pipeline
AccessTokenType
Gets or sets the effective access token type for the current request. This value is initally read from the client configuration but can be modified in the request pipeline
Gets or sets the subject.
public string
SessionId
Gets or sets the session identifier.
Gets or sets the identity server options.
ValidatedResources
Gets or sets the validated resources for the request.
public string
Confirmation
Gets or sets the value of the confirmation method (will become the cnf claim). Must be a JSON object.
ProofType
The type of proof for the request
public string
ClientId
Gets or sets the client ID that should be used for the current request (this is useful for token exchange scenarios)

Methods

public void
SetClient​(Models.​Client client, Models.​ParsedSecret? secret = null, string confirmation = "")
Inherited from ValidatedRequest
Sets the client and the appropriate request specific settings.
client The client.
secret The client secret (optional).
confirmation The confirmation.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object