Expand description
Multi-authentication plugin (multi-auth).
Chains several auth plugins and accepts the request as soon as any of
them succeeds (first success wins); the request is rejected with a 401 only
when all of them fail. This mirrors APISIX’s multi-auth, which runs each
configured auth plugin’s rewrite phase in order and short-circuits on the
first that authenticates.
Sub-plugins are built at config load via crate::plugins::create_plugin,
so every sub-config is validated up front and a bad entry fails fast.
Structs§
- Multi
Auth Plugin - Authenticates a request by trying a list of auth sub-plugins in order and accepting the first that succeeds.