Table of Contents

Class ValidatedDeviceAuthorizationRequest

Namespace
Fdyay.IdentityServer.Validation
Assembly
Fdyay.IdentityServer.Core.dll

A device authorization request, as validated (RFC 8628 §3.1).

public class ValidatedDeviceAuthorizationRequest : IValidatedRequest
Inheritance
ValidatedDeviceAuthorizationRequest
Implements
Inherited Members

Remarks

Duende 8.0.1's ValidatedDeviceAuthorizationRequest, measured, with the request members it inherits, and an IValidatedRequest since 0.155.0. A device asks before any user is involved, so it has no subject and no session.

Properties

Client

The client asking, authenticated.

public Client Client { get; set; }

Property Value

Client

Description

A name for the grant, carried onto the device code.

public string? Description { get; set; }

Property Value

string

IsOpenIdRequest

Whether openid is among RequestedScopes.

public bool IsOpenIdRequest { get; set; }

Property Value

bool

IssuerName

The issuer the request was served as.

public string IssuerName { get; set; }

Property Value

string

Remarks

Written by the device authorization endpoint, which reads it for the verification URI; Duende's leaves it unset.

Options

The options the request was validated under. Duende's, written by the validator.

public IdentityServerOptions Options { get; set; }

Property Value

IdentityServerOptions

Raw

The parameters as this server read them.

public IReadOnlyDictionary<string, string> Raw { get; set; }

Property Value

IReadOnlyDictionary<string, string>

RequestedScopes

The scopes asked for — or, when none were, the client's allowed scopes.

public IReadOnlyList<string> RequestedScopes { get; set; }

Property Value

IReadOnlyList<string>

ValidatedResources

The scopes and resources the request resolved to.

public ResourceValidationResult ValidatedResources { get; set; }

Property Value

ResourceValidationResult