Table of Contents

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

string

ConsumedTime

When the grant was consumed (UTC), for one-time-use grants.

public DateTime? ConsumedTime { get; set; }

Property Value

DateTime?

CreationTime

When the grant was created (UTC).

public DateTime CreationTime { get; set; }

Property Value

DateTime

Data

The serialized grant payload.

public string Data { get; set; }

Property Value

string

Description

Optional description the user assigned to the device/grant.

public string? Description { get; set; }

Property Value

string

Expiration

When the grant expires (UTC), or null for no expiration.

public DateTime? Expiration { get; set; }

Property Value

DateTime?

Key

The grant key (handle).

public string Key { get; set; }

Property Value

string

SessionId

The session id the grant is associated with.

public string? SessionId { get; set; }

Property Value

string

SubjectId

The subject id the grant belongs to (null for client-only grants).

public string? SubjectId { get; set; }

Property Value

string

Type

The grant type (e.g. authorization_code, refresh_token, reference_token, user_consent).

public string Type { get; set; }

Property Value

string