Modulesยง
Structsยง
- Approved
Device Grant - The approved grant data the token endpoint consumes to issue tokens.
- Auth
Code Session - Auth
Request - Client
Registration - Data ๐
- DcrRequest
- Device
Grant - A pending RFC 8628 device authorization grant, keyed in the store by its
device_codeand reachable for the browser approval step through a separateuser_codeindex. - IdToken
Claims - Server
Enumsยง
- Device
Grant Poll - The outcome of a token-endpoint poll, mapped to the RFC 8628 ยง3.5 error codes by the caller.
- Device
Grant Status
Constantsยง
- API_
SCOPE_ ๐PREFIXES - MSC2967 API-scope prefixes, stable spelling first.
- AUTH_
REQUEST_ LIFETIME - DEVICE_
GRANT_ INTERVAL_ SECS - DEVICE_
GRANT_ LIFETIME - DEVICE_
SCOPE_ ๐PREFIXES - MSC2967 device-scope prefixes, stable spelling first.
Functionsยง
- format_
user_ code - Render a stored user code for display, grouped with a single hyphen.
- is_
unreserved ๐ - narrow_
scope - Narrow a requested scope to the granted scope (RFC 6749 ยง3.3): keep the
tokens this server recognises and return them alongside the MSC2967 device
id, when one was requested. Unrecognised tokens are dropped, or rejected
when
strictis set. A request carrying more than one device scope, or a device id outside the RFC 3986 unreserved set, is always rejected.