Documentation
¶
Overview ¶
Package oidc provides utilities for resolving OIDC configuration from various sources including Kubernetes service accounts, ConfigMaps, and inline configurations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OIDCConfig ¶
type OIDCConfig struct {
Issuer string
Audience string
JWKSURL string
IntrospectionURL string
ClientID string
ClientSecret string
ThvCABundlePath string
JWKSAuthTokenPath string
ResourceURL string
JWKSAllowPrivateIP bool
}
OIDCConfig represents the resolved OIDC configuration values
type Resolver ¶
type Resolver interface {
// Resolve takes an MCPServer and its OIDC configuration reference and returns the resolved OIDC config
Resolve(ctx context.Context, mcpServer *mcpv1alpha1.MCPServer) (*OIDCConfig, error)
}
Resolver is the interface for resolving OIDC configuration from various sources
func NewResolver ¶
NewResolver creates a new OIDC configuration resolver It accepts an optional Kubernetes client for ConfigMap resolution
Click to show internal directories.
Click to hide internal directories.