Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoConfiguration = errors.New("no SSO configuration found") ErrUnverifiedEmail = errors.New("user email address is not verified") )
Functions ¶
func RandomString ¶
RandomString is just interface to getRandomString
func UpdateConfigMap ¶
func UpdateConfigMap(k kubernetes.Interface, conf Config) error
Types ¶
type Config ¶
type Config struct { ProviderURL string `json:"providerURL" toml:"provider_url"` ProviderCAFile string `json:"providerCAFile" toml:"provider_ca_file"` DexProxyEndpoint string `json:"dexProxyEndpoint"` }
TODO(ktravis): we can get rid of almost all of this if we rely on the dex client config instead
func NewFromConfigMap ¶
func NewFromConfigMap(k kubernetes.Interface) (Config, error)
type Connector ¶
type URLParam ¶
type URLParam = oauth2.AuthCodeOption
Click to show internal directories.
Click to hide internal directories.