Structsยง
- Approved
Grant ๐ - An authenticated grant ready to mint tokens.
- Token
Request ๐
Functionsยง
- issue_
tokens ๐ - Mint the access token, refresh token and device for an authenticated grant, honoring the MSC2967 device scope and emitting the OAuth token response.
- token_
authorization_ ๐code - token_
device_ ๐code - RFC 8628 ยง3.4: poll the device-code grant; pending, denied and expired map to the ยง3.5 error codes.
- token_
error_ ๐response - RFC 6749 ยง5.2: map error to correct HTTP status and OAuth2 error code. Client-side errors (invalid grant, bad params) โ 400 invalid_grant. Server-side errors โ 500 server_error with sanitized message.
- token_
refresh ๐ - token_
refresh_ ๐response - token_
route ๐