Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Duende.​IdentityServer.​Validation.​ValidatedDeviceAuthorizationRequest
Assembly: Duende.IdentityServer
Inheritance: object → ValidatedRequest → ValidatedDeviceAuthorizationRequest
Models a validated request to the device authorization endpoint.
Properties
public
System.​Collections.​Generic.​IEnumerable<​string>
RequestedScopes
Gets or sets the requested scopes.
public
bool
IsOpenIdRequest
Gets or sets a value indicating whether this instance is open identifier request.
public
string
Description
Gets the description the user assigned to the device being authorized.
public
System.​Collections.​Specialized.​NameValueCollection
Raw
Gets or sets the raw request data
Client
Gets or sets the client.
public
string
IssuerName
The name of the issuer for the current request
Secret
Gets or sets the secret used to authenticate the client.
public
int
AccessTokenLifetime
Gets or sets the effective access token lifetime for the current request.
This value is initally read from the client configuration but can be modified in the request pipeline
public
System.​Collections.​Generic.​ICollection<​System.​Security.​Claims.​Claim>
ClientClaims
Gets or sets the client claims for the current request.
This value is initally read from the client configuration but can be modified in the request pipeline
AccessTokenType
Gets or sets the effective access token type for the current request.
This value is initally read from the client configuration but can be modified in the request pipeline
Subject
Gets or sets the subject.
public
string
SessionId
Gets or sets the session identifier.
Options
Gets or sets the identity server options.
public
ResourceValidationResult
ValidatedResources
Gets or sets the validated resources for the request.
public
string
Confirmation
Gets or sets the value of the confirmation method (will become the cnf claim). Must be a JSON object.
ProofType
The type of proof for the request
public
string
ClientId
Gets or sets the client ID that should be used for the current request (this is useful for token exchange scenarios)
Methods
public
void
SetClient​(Models.​Client client,
Models.​ParsedSecret? secret = null,
string confirmation = "")
Inherited from ValidatedRequest
Sets the client and the appropriate request specific settings.
client
The client.
secret
The client secret (optional).
confirmation
The confirmation.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object