Expand description
OAuth 2.0 API Endpoints
Handles OAuth 2.0 authorization, token exchange, and related operations
Structs§
- Authorize
Request - OAuth authorization request parameters
- Client
Info - Client information
- Introspect
Request - POST /oauth/introspect Token introspection endpoint (RFC 7662)
- Introspect
Response - Jwk
- JSON Web Key
- JwkSet
- JSON Web Key Set
- OAuth
Error - OAuth error response
- Oidc
Discovery Document - OIDC Discovery Document
- Revoke
Request - POST /oauth/revoke Token revocation endpoint
- Token
Exchange Request - Token Exchange Request (RFC 8693)
- Token
Request - OAuth token request
- Token
Response - OAuth token response
- User
Info Response - UserInfo response
Functions§
- authorize
- GET /oauth/authorize OAuth 2.0 authorization endpoint
- get_
client_ info - GET /oauth/clients/{client_id} Get OAuth client information
- introspect_
token - jwks
- GET /.well-known/jwks.json JSON Web Key Set endpoint
- oidc_
discovery - GET /.well-known/openid-configuration OIDC Discovery endpoint
- revoke_
token - token
- POST /oauth/token OAuth 2.0 token endpoint
- token_
exchange - POST /oauth/token-exchange RFC 8693 Token Exchange endpoint
- userinfo
- GET /oidc/userinfo OIDC UserInfo endpoint