Table of Contents

Class DeviceFlowAuthorizationRequest

Namespace
Fdyay.IdentityServer.Services
Assembly
Fdyay.IdentityServer.AspNetCore.dll

A pending device authorization, resolved for the page that asks the user to approve it.

public sealed class DeviceFlowAuthorizationRequest
Inheritance
DeviceFlowAuthorizationRequest
Inherited Members

Properties

Client

The client the device code was issued to, so the page can show who is asking.

public required Client Client { get; init; }

Property Value

Client

ValidatedResources

What the device may actually be granted, with the metadata the host configured for each scope.

public required ResourceValidationResult ValidatedResources { get; init; }

Property Value

ResourceValidationResult

Remarks

The resources rather than their names, which is what this carried until 0.23.0. A page handed a list of scope values can only render scope values, so the approval screen showed api to a user whose host had named that scope, and had nothing to tell it which scopes could not be declined.