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_
scope_ ๐char - RFC 6749 appendix A NQCHAR: printable ASCII except space, double quote and backslash. MSC4108 clients use unpadded base64 device ids.
- narrow_
scope - Restricts a requested OAuth scope to supported tokens per RFC 6749 ยง3.3.