Expand description
RFC 8628 Device Authorization Grant.
Endpoints:
- POST /oauth/device — Device Authorization Request
- GET /oauth/device/verify — Verification page (user visits in browser)
- POST /oauth/device/verify — Verification form submission (Ed25519 challenge-response)
- GET /oauth/device/nonce — JSON nonce endpoint for CLI sign-challenge helper
Structs§
- Device
Auth Request - Device authorization request (application/x-www-form-urlencoded).
- Verify
Form - Verification form submission (Ed25519 challenge-response).
- Verify
Query - Query params for the verification page.
Functions§
- device_
authorize - POST /oauth/device — Device Authorization Endpoint (RFC 8628 Section 3.1)
- device_
nonce - GET /oauth/device/nonce — JSON nonce endpoint for CLI sign-challenge helper.
- verify_
get - GET /oauth/device/verify — Render verification page with Ed25519 challenge form
- verify_
post - POST /oauth/device/verify — Handle Ed25519 challenge-response verification