Class Grant
- Namespace
- Duende.IdentityServer.Models
- Assembly
- Duende.IdentityServer.dll
Models a grant the user has given.
public class Grant
- Inheritance
-
Grant
- Inherited Members
Constructors
Grant()
public Grant()
Properties
ClientId
Gets or sets the client identifier.
public string ClientId { get; set; }
Property Value
- string
The client identifier.
CreationTime
Gets or sets the creation time.
public DateTime CreationTime { get; set; }
Property Value
- DateTime
The creation time.
Description
Gets the description the user assigned to the device being authorized.
public string? Description { get; set; }
Property Value
- string
The description.
Expiration
Gets or sets the expiration.
public DateTime? Expiration { get; set; }
Property Value
- DateTime?
The expiration.
Scopes
Gets or sets the scopes.
public IEnumerable<string> Scopes { get; set; }
Property Value
- IEnumerable<string>
The scopes.
SubjectId
Gets or sets the subject identifier.
public string SubjectId { get; set; }
Property Value
- string
The subject identifier.