Table of Contents

Class Grant

Namespace
Fdyay.IdentityServer.Models
Assembly
Fdyay.IdentityServer.AspNetCore.dll

Consent a user has given to a client, as an account-management UI sees it.

public sealed class Grant
Inheritance
Grant
Inherited Members

Properties

ClientId

The client the grant was given to.

public string ClientId { get; init; }

Property Value

string

CreationTime

When the grant was created.

public DateTime CreationTime { get; init; }

Property Value

DateTime

Description

A description the user gave when the grant was created, if any.

public string? Description { get; init; }

Property Value

string

Expiration

When the grant expires, if it does.

public DateTime? Expiration { get; init; }

Property Value

DateTime?

Scopes

The scopes the grant covers.

public IReadOnlyCollection<string> Scopes { get; init; }

Property Value

IReadOnlyCollection<string>

SubjectId

The subject the grant belongs to.

public string SubjectId { get; init; }

Property Value

string