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§
- Access
Token - OAuth2 access token
- Authorization
Code - Authorization code
- Error
Response - OAuth2 error response
- OAuth2
Client - OAuth2 client registration
- OAuth2
Provider Config - OAuth2 provider configuration for external providers
- OAuth2
Server - OAuth2 authorization server
- Refresh
Token - OAuth2 refresh token
- Scope
- OAuth2 scope
- Token
Response - OAuth2 token response
Enums§
- Code
Challenge Method - PKCE code challenge method
- Grant
Type - OAuth2 grant types
- Response
Type - OAuth2 response type
- Token
Type - OAuth2 token type