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 {
Providers []OIDCProvider `yaml:"providers"`
}
func ConfigFromXmlFile ¶
func (*Config) Match ¶
func (c *Config) Match(headerName, headerValue string) *OIDCProvider
type HeaderMatch ¶
type OIDCProvider ¶
type OIDCProvider struct { IssuerURL string `yaml:"issuerURL"` CallbackURI string `yaml:"callbackURI"` ClientID string `yaml:"clientID"` ClientSecret string `yaml:"clientSecret"` Scopes []string `yaml:"scopes"` CookieNamePrefix string `yaml:"cookieNamePrefix"` SecureCookie bool `yaml:"secureCookie"` OPAEnabled bool `yaml:"opaEnabled"` AllowAuthHeader bool `yaml:"allowAuthHeaderPassThrough"` HeaderMatch HeaderMatch `yaml:"headerMatch"` // contains filtered or unexported fields }
type Service ¶
type Service struct { authv3connect.UnimplementedAuthorizationHandler // contains filtered or unexported fields }
func NewService ¶
Click to show internal directories.
Click to hide internal directories.