Class OpenIddictTokenDescriptor
- Namespace
- OpenIddict.Abstractions
- Assembly
- OpenIddict.Abstractions.dll
Represents an OpenIddict token descriptor.
public class OpenIddictTokenDescriptor
- Inheritance
-
OpenIddictTokenDescriptor
- Inherited Members
Constructors
OpenIddictTokenDescriptor()
public OpenIddictTokenDescriptor()
Properties
ApplicationId
Gets or sets the application identifier associated with the token.
public string? ApplicationId { get; set; }
Property Value
AuthorizationId
Gets or sets the authorization identifier associated with the token.
public string? AuthorizationId { get; set; }
Property Value
CreationDate
Gets or sets the creation date associated with the token.
public DateTimeOffset? CreationDate { get; set; }
Property Value
ExpirationDate
Gets or sets the expiration date associated with the token.
public DateTimeOffset? ExpirationDate { get; set; }
Property Value
Payload
Gets or sets the payload associated with the token.
public string? Payload { get; set; }
Property Value
Principal
Gets or sets the optional principal associated with the token. Note: this property is not stored by the default token stores.
public ClaimsPrincipal? Principal { get; set; }
Property Value
Properties
Gets the additional properties associated with the token.
public Dictionary<string, JsonElement> Properties { get; }
Property Value
RedemptionDate
Gets or sets the redemption date associated with the token.
public DateTimeOffset? RedemptionDate { get; set; }
Property Value
ReferenceId
Gets or sets the reference identifier associated with the token. Note: depending on the application manager used when creating it, this property may be hashed or encrypted for security reasons.
public string? ReferenceId { get; set; }
Property Value
Status
Gets or sets the status associated with the token.
public string? Status { get; set; }
Property Value
Subject
Gets or sets the subject associated with the token.
public string? Subject { get; set; }
Property Value
Type
Gets or sets the token type.
public string? Type { get; set; }