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
CreationTime
When the grant was created.
public DateTime CreationTime { get; init; }
Property Value
Description
A description the user gave when the grant was created, if any.
public string? Description { get; init; }
Property Value
Expiration
When the grant expires, if it does.
public DateTime? Expiration { get; init; }
Property Value
Scopes
The scopes the grant covers.
public IReadOnlyCollection<string> Scopes { get; init; }
Property Value
SubjectId
The subject the grant belongs to.
public string SubjectId { get; init; }