Expand description
OpenID Connect (OIDC) simulation support
This module provides OIDC-compliant endpoints for simulating identity providers, including discovery documents and JSON Web Key Set (JWKS) endpoints.
Structs§
- Claims
Config - Claims configuration
- JwkKey
- JSON Web Key configuration
- JwkPublic
Key - Public JSON Web Key (for JWKS endpoint - no private key)
- Jwks
Config - JWKS (JSON Web Key Set) configuration
- Jwks
Response - JWKS response
- Multi
Tenant Config - Multi-tenant configuration
- Oidc
Config - OIDC configuration
- Oidc
Discovery Document - OIDC discovery document response
- Oidc
State - OIDC state stored in AuthState
- Tenant
Context - Tenant context for multi-tenant token generation
Functions§
- generate_
oidc_ token - Generate a signed JWT token with default claims from OIDC config
- generate_
signed_ jwt - Generate a signed JWT token with configurable claims
- get_
jwks - Get JWKS (JSON Web Key Set)
- get_
jwks_ from_ state - Get JWKS from OIDC state
- get_
oidc_ discovery - Get OIDC discovery document
- load_
oidc_ state - Helper function to load OIDC state from configuration
- oidc_
router - Create OIDC router with well-known endpoints