Documentation
¶
Overview ¶
Package oidc ...
Package oidc provides functionality related OIDC based IDPs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnexpectedSatusCode = fmt.Errorf("unexpected status code")
ErrUnexpectedSatusCode is returned when HTTP 200 is not returned.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// KubeconfigPath is a path to a kubeconfig
KubeconfigPath string `mapstructure:"kubeconfig"`
// IssuerURL OIDC issuer url.
IssuerURL string `mapstructure:"issuer-url"`
// ClientID ID of the client OIDC app.
ClientID string `mapstructure:"client-id"`
}
Config stores configuration for the OIDC command.
type OIDC ¶
type OIDC struct {
// contains filtered or unexported fields
}
OIDC describes the command to configure OIDC settings.
type ProviderConfig ¶
type ProviderConfig struct {
Issuer string `json:"issuer"`
AuthURL string `json:"authorization_endpoint"`
TokenURL string `json:"token_endpoint"`
DeviceAuthURL string `json:"device_authorization_endpoint"`
JWKSURL string `json:"jwks_uri"`
UserInfoURL string `json:"userinfo_endpoint"`
Algorithms []string `json:"id_token_signing_alg_values_supported"`
}
ProviderConfig contains the configuration of an OIDC provider.
Click to show internal directories.
Click to hide internal directories.