Crate wasm_oidc_plugin
source ยทModulesยง
- config ๐This module contains the structs of the
PluginConfiguration
andOpenIdConfig
- cookie ๐This module contains logic to parse and save the current authorization state in a cookie
- discovery ๐This module contains the OIDC discovery and JWKs loading logic
- error ๐This module contains the error types for the plugin
- responses ๐This module contains the responses for the OIDC discovery and jwks endpoints
Structsยง
- Configured
Oidc ๐The ConfiguredOidc is the main filter struct and responsible for the OIDC authentication flow. Requests arriving are checked for a valid cookie. If the cookie is valid, the request is forwarded. If the cookie is not valid, the request is redirected to theauthorization endpoint
. - Pause
Requests ๐The PauseRequests Context is the filter struct which is used when the filter is not configured. All requests are paused and queued by the RootContext. Once the filter is configured, the request is resumed by the RootContext.