Class DeviceCode
- Namespace
- Duende.IdentityServer.Models
- Assembly
- Duende.IdentityServer.Storage.dll
Represents data needed for device flow.
public class DeviceCode
- Inheritance
-
DeviceCode
- Inherited Members
Constructors
DeviceCode()
public DeviceCode()
Properties
AuthorizedScopes
Gets or sets the authorized scopes.
public IEnumerable<string>? AuthorizedScopes { get; set; }
Property Value
- IEnumerable<string>
The authorized scopes.
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.
IsAuthorized
Gets or sets a value indicating whether this instance is authorized.
public bool IsAuthorized { get; set; }
Property Value
- bool
true
if this instance is authorized; otherwise,false
.
IsOpenId
Gets or sets a value indicating whether this instance is open identifier.
public bool IsOpenId { get; set; }
Property Value
- bool
true
if this instance is open identifier; otherwise,false
.
Lifetime
Gets or sets the lifetime.
public int Lifetime { get; set; }
Property Value
- int
The lifetime.
RequestedScopes
Gets or sets the requested scopes.
public IEnumerable<string> RequestedScopes { get; set; }
Property Value
- IEnumerable<string>
The authorized scopes.
SessionId
Gets or sets the session identifier.
public string? SessionId { get; set; }
Property Value
- string
The session identifier.
Subject
Gets or sets the subject.
public ClaimsPrincipal? Subject { get; set; }
Property Value
- ClaimsPrincipal
The subject.