Table of Contents

Class Consent

Namespace
Duende.IdentityServer.Models
Assembly
Duende.IdentityServer.Storage.dll

Represents the permissions (in terms of scopes) granted to a client by a subject

public class Consent
Inheritance
Consent
Inherited Members

Constructors

public Consent()

Properties

Gets or sets the client identifier.

public string ClientId { get; set; }

Property Value

string

The client identifier.

Gets or sets the creation time.

public DateTime CreationTime { get; set; }

Property Value

DateTime

The creation time.

Gets or sets the expiration.

public DateTime? Expiration { get; set; }

Property Value

DateTime?

The expiration.

Gets or sets the scopes.

public IEnumerable<string>? Scopes { get; set; }

Property Value

IEnumerable<string>

The scopes.

Gets or sets the subject identifier.

public string SubjectId { get; set; }

Property Value

string

The subject identifier.