Skip to main content

DeviceAuthorizationRequest Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Model

DeviceAuthorizationRequest Class

Represents a device authorization request as defined in RFC 8628. This request is initiated by a device with limited input capabilities to obtain a device code and user code for user authentication on a separate device.

public record DeviceAuthorizationRequest : System.IEquatable<Abblix.Oidc.Server.Model.DeviceAuthorizationRequest>

Inheritance System.Object → DeviceAuthorizationRequest

Implements System.IEquatable<DeviceAuthorizationRequest>

Properties

DeviceAuthorizationRequest.AuthorizationDetails Property

RFC 9396 §3 Rich Authorization Requests array stored as the raw wire System.Text.Json.Nodes.JsonArray. Device flows accept authorization_details by spec reference (RFC 9396 §3 cites RFC 8628); the array carries through to the eventual access token issued via the device-code grant byte-exact.

public System.Text.Json.Nodes.JsonArray? AuthorizationDetails { get; init; }

Property Value

System.Text.Json.Nodes.JsonArray

DeviceAuthorizationRequest.Resources Property

Specifies the resource for which the access token is requested. As defined in RFC 8707, this parameter requests access tokens with a specific scope for a particular resource.

public System.Uri[]? Resources { get; init; }

Property Value

System.Uri[]

DeviceAuthorizationRequest.Scope Property

A space-separated list of scopes requested by the client. Scopes define the level of access requested and the types of information the client wants to retrieve.

public string[]? Scope { get; init; }

Property Value

System.String[]