Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyValidatorConfig ¶
type KeyValidatorConfig interface { Issuer() string ClientID() string // RequiredConfigMaps returns config maps that the KeyValidatorConfig implementation requires. RequiredConfigMaps(namespace string) []*corev1.ConfigMap // RequiredEnv returns env variables that the KeyValidatorConfig implementation requires. RequiredEnv(prefix string) []corev1.EnvVar // RequiredAnnotations returns annotations that the KeyValidatorConfig implementation requires. RequiredAnnotations() map[string]string // RequiredSecrets returns secrets that the KeyValidatorConfig implementation requires. RequiredSecrets(namespace string) []*corev1.Secret // RequiredVolumeMounts returns volume mounts that the KeyValidatorConfig implementation requires. RequiredVolumeMounts() []corev1.VolumeMount // RequiredVolumes returns volumes that the KeyValidatorConfig implementation requires. RequiredVolumes() []corev1.Volume }
type WellKnownConfig ¶
type WellKnownConfig struct { Issuer string `json:"issuer"` AuthURL string `json:"authorization_endpoint"` TokenURL string `json:"token_endpoint"` JWKSURL string `json:"jwks_uri"` UserInfoURL string `json:"userinfo_endpoint"` Algorithms []string `json:"id_token_signing_alg_values_supported"` }
func NewWellKnownConfig ¶
func NewWellKnownConfig(issuerURL string) (*WellKnownConfig, error)
func (*WellKnownConfig) GetJWKS ¶
func (wk *WellKnownConfig) GetJWKS() ([]byte, error)
func (*WellKnownConfig) ToString ¶
func (wk *WellKnownConfig) ToString() string
Click to show internal directories.
Click to hide internal directories.