oidcupstreamwatcher

package
v0.42.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2025 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package oidcupstreamwatcher implements a controller which watches OIDCIdentityProviders.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

type UserInfoEndpointConfigI interface {
	IgnoreUserInfoEndpoint(issuerURL string) bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL