Expand description
OIDC mock server for testing.
This module provides a mock OIDC server that serves JWKS endpoints for validating JWT tokens in tests.
Structsยง
- Generate
JwtOptions - Options for generating JWT tokens.
- Jwk ๐
- JSON Web Key structure.
- JwkSet ๐
- JWKS response structure.
- Oidc
Mock ๐Context - Shared context for the OIDC mock server.
- Oidc
Mock Server - OIDC mock server for testing.
- Open
IdConfiguration ๐ - OpenID Configuration response.
Functionsยง
- create_
jwk ๐ - Creates a JWK from RSA key components.
- handle_
jwks ๐ - Handler for JWKS endpoint.
- handle_
openid_ ๐config - Handler for OpenID Configuration endpoint.