Skip to main content

Module device_authorization

Module device_authorization 

Source

Structs§

DeviceActionResponse
A device authorization decision was persisted for its claiming owner.
DeviceAuthorizationPlugin
OAuth 2.0 device authorization grant plugin.
DeviceCodeRequest
Request a device proof for an application and optional owner/scope.
DeviceCodeResponse
Issued device and user codes, verification URIs, expiry and polling interval.
DeviceGrantAuthorization
DeviceGrantRecord
DeviceRedemptionAuthorization
DeviceRedemptionResult
DeviceTokenResponse
A bearer token issued after consuming an approved device proof.

Enums§

DeviceGrantFailure

Traits§

DeviceAuthorizationGrant
Application protocol layered over the shared device-code lifecycle.
DeviceRedemptionPolicy
Preparation runs before the atomic consume; rejection leaves the grant usable.

Functions§

redeem_device_code
Redeem one approved grant using a storage-side ownership predicate.