mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-19 00:36:38 +00:00
11 lines
382 B
Go
11 lines
382 B
Go
package methods
|
|
|
|
// BearerConfig holds JWT/OAuth/OIDC bearer token authentication settings
|
|
// The actual OIDC/JWT configuration comes from the global proxy Config.OIDCConfig
|
|
// This just enables Bearer auth for a specific route
|
|
type BearerConfig struct {
|
|
// Enable bearer token authentication for this route
|
|
// Uses the global OIDC configuration from proxy Config
|
|
Enabled bool
|
|
}
|