Files
CLIProxyAPI/examples/plugin/frontend-auth-exclusive
Luis Pater 633a294f4c chore(deps): bump Go version to 1.26.10 and update dependencies
- Update Go version to 1.26.10 across modules.
- Update indirect and direct dependencies including go-git, golang.org/x packages, and plugin go.mod files.
2026-10-22 09:39:10 +08:00
..
…
…

Frontend Auth Exclusive Plugin Example

This example registers a frontend auth provider with frontend_auth_provider_exclusive: true.

When enabled and selected, this provider becomes the only request authentication provider. Built-in config API keys and other frontend auth providers do not authenticate requests while this provider is active.

The example accepts requests that include:

X-Example-Frontend-Auth: exclusive

Build:

cd examples/plugin/frontend-auth-exclusive/go
go build -buildmode=c-shared -o /tmp/cliproxy-frontend-auth-exclusive.dylib .