Skip to main content

Module consent

Module consent 

Source

Structs§

ConsentInfo
What the consent screen shows about the client asking for access.
ConsentInfoQuery
ConsentScope
One requested scope as the consent screen shows it.

Functions§

_add_routes
approve_consent
Handles /consent approval after the user agrees to grant requested scopes.
consent_client 🔒
The client a consent request names, provided redirect_uri is one of the client’s.
deny_consent
Handles /consent/deny when the user refuses to grant scopes.
get_consent_info
GET /api/v0/main-frontend/oauth/consent-info - What the consent screen shows: the client asking and a checkbox state per requested scope. The client must already be known, which the authorize endpoint ensures before redirecting to the consent screen.