Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName = "envoy-authz"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SessionExpiration string `yaml:"sessionExpiration"` ErrorTemplate string `yaml:"errorTemplate"` ErrorTemplateContentType string `yaml:"errorTemplateContentType"` Providers []OIDCProvider `yaml:"providers"` }
func ConfigFromYamlFile ¶ added in v0.1.0
func (*Config) Match ¶
func (c *Config) Match(headerName, headerValue string) *OIDCProvider
type HeaderMatch ¶
type LogoutConfig ¶ added in v0.1.0
type OIDCProvider ¶
type OIDCProvider struct { HeaderMatch HeaderMatch `yaml:"headerMatch"` Logout LogoutConfig `yaml:"logout"` CookieNamePrefix string `yaml:"cookieNamePrefix"` CallbackURI string `yaml:"callbackURI"` ClientSecret string `yaml:"clientSecret"` ClientID string `yaml:"clientID"` PreAuthPolicy string `yaml:"preAuthPolicy"` PostAuthPolicy string `yaml:"postAuthPolicy"` IssuerURL string `yaml:"issuerURL"` Scopes []string `yaml:"scopes"` DisableSecureCookie bool `yaml:"disableSecureCookie"` DisablePassAuthorizationHeader bool `yaml:"disablePassAuthorizationHeader"` DisableSourceAddressCheck bool `yaml:"disableSourceAddressCheck"` // contains filtered or unexported fields }
type Service ¶
type Service struct { authv3connect.UnimplementedAuthorizationHandler // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.