You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-07-15 01:44:22 +02:00
Update options
This commit is contained in:
@ -30,8 +30,12 @@ type Authorization struct {
|
||||
|
||||
// AuthorizationRule determines the configuration for a particular authorization
|
||||
// rule.
|
||||
|
||||
type AuthorizationRule struct {
|
||||
// ID is a unique identifier for the authorization rule. Each authorization
|
||||
// rule is expected to have a unique ID.
|
||||
// The ID will be used to identify matched rules for audit purposes.
|
||||
ID string
|
||||
|
||||
// Policy is the authorization policy to apply should the rule match the given
|
||||
// request.
|
||||
// All conditions specified within the rule must match the request for the
|
||||
|
@ -48,7 +48,8 @@ type Options struct {
|
||||
Server Server `cfg:",internal"`
|
||||
MetricsServer Server `cfg:",internal"`
|
||||
|
||||
Providers Providers `cfg:",internal"`
|
||||
Authorization Authorization `cfg:",internal"`
|
||||
Providers Providers `cfg:",internal"`
|
||||
|
||||
SkipAuthRegex []string `flag:"skip-auth-regex" cfg:"skip_auth_regex"`
|
||||
SkipAuthRoutes []string `flag:"skip-auth-route" cfg:"skip_auth_routes"`
|
||||
|
Reference in New Issue
Block a user