func NewOptions()

in options.go [114:139]


func NewOptions() *Options {
	return &Options{
		ProxyPrefix:          "/oauth2",
		ProxyWebSockets:      true,
		HTTPAddress:          "127.0.0.1:4180",
		HTTPSAddress:         ":443",
		DisplayHtpasswdForm:  true,
		CookieName:           "_oauth2_proxy",
		CookieSecure:         true,
		CookieHTTPOnly:       true,
		CookieExpire:         time.Duration(168) * time.Hour,
		CookieRefresh:        time.Duration(0),
		SetXAuthRequest:      false,
		SkipAuthPreflight:    false,
		PassBasicAuth:        true,
		PassUserHeaders:      true,
		PassAccessToken:      false,
		PassHostHeader:       true,
		SetAuthorization:     false,
		PassAuthorization:    false,
		ApprovalPrompt:       "force",
		RequestLogging:       true,
		SkipOIDCDiscovery:    false,
		RequestLoggingFormat: defaultRequestLoggingFormat,
	}
}