DeviceAuthorizationRequest Class
The transport-bound counterpart of DeviceAuthorizationRequest for the device authorization endpoint (RFC 8628). All bound properties, model binders resolved from the core wire-format markers and the projection back onto the core model are generated from the core type.
public record DeviceAuthorizationRequest : System.IEquatable<Abblix.Oidc.Server.Mvc.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
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
Methods
DeviceAuthorizationRequest.Map() Method
Projects the transport-bound model onto its core counterpart, copying every bound parameter so the core pipeline operates on a transport-agnostic shape.
public Abblix.Oidc.Server.Model.DeviceAuthorizationRequest Map();Returns
Operators
DeviceAuthorizationRequest.implicit operator DeviceAuthorizationRequest(DeviceAuthorizationRequest) Operator
Implicit form of Map(), letting a bound model flow into any core-typed parameter or variable without an explicit call.
public static Abblix.Oidc.Server.Model.DeviceAuthorizationRequest implicit operator Abblix.Oidc.Server.Model.DeviceAuthorizationRequest(Abblix.Oidc.Server.Mvc.Model.DeviceAuthorizationRequest request);