Class TokenCreationRequest
- Namespace
- Duende.IdentityServer.Models
- Assembly
- Duende.IdentityServer.dll
Models the data to create a token from a validated request.
public class TokenCreationRequest
- Inheritance
-
TokenCreationRequest
- Inherited Members
Constructors
TokenCreationRequest()
public TokenCreationRequest()
Properties
AccessTokenToHash
Gets or sets the access token to hash.
public string? AccessTokenToHash { get; set; }
Property Value
- string
The access token to hash.
AuthorizationCodeToHash
Gets or sets the authorization code to hash.
public string? AuthorizationCodeToHash { get; set; }
Property Value
- string
The authorization code to hash.
Description
Gets the description the user assigned to the device being authorized.
public string? Description { get; set; }
Property Value
- string
The description.
IncludeAllIdentityClaims
Gets or sets a value indicating whether [include all identity claims].
public bool IncludeAllIdentityClaims { get; set; }
Property Value
- bool
true
if [include all identity claims]; otherwise,false
.
Nonce
Gets or sets the nonce.
public string? Nonce { get; set; }
Property Value
- string
The nonce.
StateHash
Gets or sets pre-hashed state
public string? StateHash { get; set; }
Property Value
- string
The pre-hashed state
Subject
Gets or sets the subject.
public ClaimsPrincipal? Subject { get; set; }
Property Value
- ClaimsPrincipal
The subject.
ValidatedRequest
Gets or sets the validated request.
public ValidatedRequest ValidatedRequest { get; set; }
Property Value
- ValidatedRequest
The validated request.
ValidatedResources
Gets or sets the validated resources.
public ResourceValidationResult ValidatedResources { get; set; }
Property Value
- ResourceValidationResult
The resources.
Methods
Validate()
Called to validate the TokenCreationRequest before it is processed.
public void Validate()