Table of Contents

Class OpenIddictAuthorizationDescriptor

Namespace
OpenIddict.Abstractions
Assembly
OpenIddict.Abstractions.dll

Represents an OpenIddict authorization descriptor.

public class OpenIddictAuthorizationDescriptor
Inheritance
OpenIddictAuthorizationDescriptor
Inherited Members

Constructors

OpenIddictAuthorizationDescriptor()

public OpenIddictAuthorizationDescriptor()

Properties

ApplicationId

Gets or sets the application identifier associated with the authorization.

public string? ApplicationId { get; set; }

Property Value

string

CreationDate

Gets or sets the creation date associated with the authorization.

public DateTimeOffset? CreationDate { get; set; }

Property Value

DateTimeOffset?

Principal

Gets or sets the optional principal associated with the authorization. Note: this property is not stored by the default authorization stores.

public ClaimsPrincipal? Principal { get; set; }

Property Value

ClaimsPrincipal

Properties

Gets the additional properties associated with the authorization.

public Dictionary<string, JsonElement> Properties { get; }

Property Value

Dictionary<string, JsonElement>

Scopes

Gets the scopes associated with the authorization.

public HashSet<string> Scopes { get; }

Property Value

HashSet<string>

Status

Gets or sets the status associated with the authorization.

public string? Status { get; set; }

Property Value

string

Subject

Gets or sets the subject associated with the authorization.

public string? Subject { get; set; }

Property Value

string

Type

Gets or sets the type of the authorization.

public string? Type { get; set; }

Property Value

string