Include SessionOptions in Options struct
commit455e0004b86150b350fb228b5abb28535ec35dcb
authorJoel Speed <Joel.speed@hotmail.co.uk>
dateTue 7 May 2019, 14:24 (7 years ago)
parent1048584
options.go+3
@@ -53,6 +53,9 @@ type Options struct {
5353 // Embed CookieOptions
5454 options.CookieOptions
5555
56+ // Embed SessionOptions
57+ options.SessionOptions
58+
5659 Upstreams []string `flag:"upstream" cfg:"upstreams" env:"OAUTH2_PROXY_UPSTREAMS"`
5760 SkipAuthRegex []string `flag:"skip-auth-regex" cfg:"skip_auth_regex" env:"OAUTH2_PROXY_SKIP_AUTH_REGEX"`
5861 PassBasicAuth bool `flag:"pass-basic-auth" cfg:"pass_basic_auth" env:"OAUTH2_PROXY_PASS_BASIC_AUTH"`