Class PersistedGrant
- Namespace
- Fdyay.IdentityServer.Stores
- Assembly
- Fdyay.IdentityServer.Core.dll
A persisted grant: authorization code, refresh token, reference token, or user consent.
public class PersistedGrant
- Inheritance
-
PersistedGrant
- Inherited Members
Properties
ClientId
The client id the grant was issued to.
public string ClientId { get; set; }
Property Value
ConsumedTime
When the grant was consumed (UTC), for one-time-use grants.
public DateTime? ConsumedTime { get; set; }
Property Value
CreationTime
When the grant was created (UTC).
public DateTime CreationTime { get; set; }
Property Value
Data
The serialized grant payload.
public string Data { get; set; }
Property Value
Description
Optional description the user assigned to the device/grant.
public string? Description { get; set; }
Property Value
Expiration
When the grant expires (UTC), or null for no expiration.
public DateTime? Expiration { get; set; }
Property Value
Key
The grant key (handle).
public string Key { get; set; }
Property Value
SessionId
The session id the grant is associated with.
public string? SessionId { get; set; }
Property Value
SubjectId
The subject id the grant belongs to (null for client-only grants).
public string? SubjectId { get; set; }
Property Value
Type
The grant type (e.g. authorization_code, refresh_token, reference_token, user_consent).
public string Type { get; set; }