Module oauth

Module oauth 

Source
Expand description

OAuth 2.0 API Endpoints

Handles OAuth 2.0 authorization, token exchange, and related operations

Structs§

AuthorizeRequest
OAuth authorization request parameters
ClientInfo
Client information
IntrospectRequest
POST /oauth/introspect Token introspection endpoint (RFC 7662)
IntrospectResponse
OAuthError
OAuth error response
RevokeRequest
POST /oauth/revoke Token revocation endpoint
TokenRequest
OAuth token request
TokenResponse
OAuth token 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
revoke_token
token
POST /oauth/token OAuth 2.0 token endpoint