Module oauth2

Module oauth2 

Source
Expand description

OAuth2 Authentication Module

Implements OAuth2 authentication flows including:

  • Authorization Code Flow (with PKCE)
  • Client Credentials Flow
  • Refresh Token Flow

Supports integration with external OAuth2 providers (Google, GitHub, etc.) and can also act as an OAuth2 authorization server.

Structs§

AccessToken
OAuth2 access token
AuthorizationCode
Authorization code
ErrorResponse
OAuth2 error response
OAuth2Client
OAuth2 client registration
OAuth2ProviderConfig
OAuth2 provider configuration for external providers
OAuth2Server
OAuth2 authorization server
RefreshToken
OAuth2 refresh token
Scope
OAuth2 scope
TokenResponse
OAuth2 token response

Enums§

CodeChallengeMethod
PKCE code challenge method
GrantType
OAuth2 grant types
ResponseType
OAuth2 response type
TokenType
OAuth2 token type