Skip to main content

ValidDeviceAuthorizationRequest Class

Abblix.Oidc.Server

Abblix.Oidc.Server.Endpoints.DeviceAuthorization.Interfaces

ValidDeviceAuthorizationRequest Class

A device authorization request (RFC 8628 §3.1) that has passed all validators, paired with the authenticated client and the scope/resource sets resolved against the provider's catalog.

public record ValidDeviceAuthorizationRequest : System.IEquatable<Abblix.Oidc.Server.Endpoints.DeviceAuthorization.Interfaces.ValidDeviceAuthorizationRequest>

Inheritance System.Object → ValidDeviceAuthorizationRequest

Implements System.IEquatable<ValidDeviceAuthorizationRequest>

Constructors

ValidDeviceAuthorizationRequest(DeviceAuthorizationValidationContext) Constructor

Builds the validated request snapshot from a populated DeviceAuthorizationValidationContext, flattening scope and resource definitions to their wire-form identifiers.

public ValidDeviceAuthorizationRequest(Abblix.Oidc.Server.Endpoints.DeviceAuthorization.Validation.DeviceAuthorizationValidationContext context);

Parameters

context DeviceAuthorizationValidationContext

Properties

ValidDeviceAuthorizationRequest.AuthorizationDetails Property

RFC 9396 §3 Rich Authorization Requests array (post-validation), which the downstream processor stashes on the persisted DeviceAuthorizationRequest so the user-verification step can carry it onto the eventual AuthorizedGrant.

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

Property Value

System.Text.Json.Nodes.JsonArray

ValidDeviceAuthorizationRequest.ClientInfo Property

The authenticated client information.

public Abblix.Oidc.Server.Features.ClientInformation.ClientInfo ClientInfo { get; }

Property Value

ClientInfo

ValidDeviceAuthorizationRequest.Model Property

The original device authorization request model.

public Abblix.Oidc.Server.Model.DeviceAuthorizationRequest Model { get; }

Property Value

DeviceAuthorizationRequest

ValidDeviceAuthorizationRequest.Resources Property

The validated and resolved resources for the request.

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

Property Value

System.Uri[]

ValidDeviceAuthorizationRequest.Scope Property

The validated and resolved scopes for the request.

public string[] Scope { get; }

Property Value

System.String[]