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
Jwk
JSON Web Key
JwkSet
JSON Web Key Set
OAuthError
OAuth error response
OidcDiscoveryDocument
OIDC Discovery Document
RevokeRequest
POST /oauth/revoke Token revocation endpoint
TokenExchangeRequest
Token Exchange Request (RFC 8693)
TokenRequest
OAuth token request
TokenResponse
OAuth token response
UserInfoResponse
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