Versions in this module Expand all Collapse all v1 v1.0.35 Aug 1, 2022 Changes in this version + type Gatekeeper struct + func NewGatekeeper(cfg *PolicyConfig, logger *zap.Logger) (*Gatekeeper, error) + func (g *Gatekeeper) AddAuthenticators(authenticators []authproxy.Authenticator) error + func (g *Gatekeeper) Authenticate(w http.ResponseWriter, r *http.Request, ar *requests.AuthorizationRequest) error + type PolicyConfig struct + AccessListRules []*acl.RuleConfiguration + AdditionalScopes bool + AllowedTokenSources []string + AuthProxyConfig *authproxy.Config + AuthRedirectDisabled bool + AuthRedirectQueryDisabled bool + AuthRedirectQueryParameter string + AuthRedirectStatusCode int + AuthURLPath string + BypassConfigs []*bypass.Config + CryptoKeyConfigs []*kms.CryptoKeyConfig + CryptoKeyStoreConfig map[string]interface{} + ForbiddenURL string + HeaderInjectionConfigs []*injector.Config + LoginHintValidators []string + Name string + PassClaimsWithHeaders bool + RedirectWithJavascript bool + StripTokenEnabled bool + UserIdentityField string + ValidateAccessListPathClaim bool + ValidateBearerHeader bool + ValidateMethodPath bool + ValidateSourceAddress bool + func (cfg *PolicyConfig) AddRawCryptoConfigs(s string) + func (cfg *PolicyConfig) AddRawIdpConfig(s string) + func (cfg *PolicyConfig) Validate() error