Crate wasm_oidc_plugin

source ยท

Modulesยง

  • config ๐Ÿ”’
    This module contains the structs of the PluginConfiguration and OpenIdConfig
  • 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ยง

  • ConfiguredOidc ๐Ÿ”’
    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 the authorization endpoint.
  • PauseRequests ๐Ÿ”’
    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.