Skip to main content

Module config

Module config 

Source
Expand description

Configuration types for JWT and API key extraction.

Provides AuthConfig as the top-level configuration, along with HeaderConfig for JWT token extraction from HTTP headers/cookies and APIHeaderConfig for API key header extraction.

Structsยง

APIHeaderConfig
Configuration for extracting API keys from HTTP headers.
AuthConfig
Top-level authentication configuration.
HeaderConfig
Configuration for extracting JWT tokens from HTTP headers and cookies.