Expand description
RFC 8628 OAuth 2.0 device authorization grant flow.
Structs§
- Device
Code Response - Response from the devicecode endpoint.
- Poll
Success - Result of a successful poll: tokens + the id_token (for tenant_id extraction).
Functions§
- poll
- Poll
{base_url}/oauth2/v2.0/tokenper RFC 8628 §3.5. Returns when the user has approved consent, or with an error on denial / expiry. - real_
sleep - Real-time sleep helper for production use.
- start
- POST to
{base_url}/oauth2/v2.0/devicecode.