Documentation
¶
Overview ¶
Package oidcupstreamwatcher implements a controller which watches OIDCIdentityProviders.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( idpCache UpstreamOIDCIdentityProviderICache, client supervisorclientset.Interface, oidcIdentityProviderInformer idpinformers.OIDCIdentityProviderInformer, secretInformer corev1informers.SecretInformer, configMapInformer corev1informers.ConfigMapInformer, log plog.Logger, withInformer pinnipedcontroller.WithInformerOptionFunc, validatorCache *cache.Expiring, globalOIDCConfig GlobalOIDCConfig, ) controllerlib.Controller
New instantiates a new controllerlib.Controller which will populate the provided UpstreamOIDCIdentityProviderICache.
Types ¶
type GlobalOIDCConfig ¶ added in v0.41.0
type GlobalOIDCConfig struct {
UserInfoEndpointConfig UserInfoEndpointConfigI
}
type IgnoreUserInfoEndpointForExactIssuerMatches ¶ added in v0.41.0
type IgnoreUserInfoEndpointForExactIssuerMatches struct {
Issuers sets.Set[string] // a set of issuer URLs
}
func (*IgnoreUserInfoEndpointForExactIssuerMatches) IgnoreUserInfoEndpoint ¶ added in v0.41.0
func (i *IgnoreUserInfoEndpointForExactIssuerMatches) IgnoreUserInfoEndpoint(issuerURL string) bool
type UpstreamOIDCIdentityProviderICache ¶
type UpstreamOIDCIdentityProviderICache interface {
SetOIDCIdentityProviders([]upstreamprovider.UpstreamOIDCIdentityProviderI)
}
UpstreamOIDCIdentityProviderICache is a thread safe cache that holds a list of validated upstream OIDC IDP configurations.
type UserInfoEndpointConfigI ¶ added in v0.41.0
Click to show internal directories.
Click to hide internal directories.