Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Issuer string `json:"issuer"` ClientID string `json:"clientID"` ClientSecret string `json:"clientSecret"` RedirectURI string `json:"redirectURI"` Groups []string `json:"groups"` InsecureCA bool `json:"insecureCA"` RootCA string `json:"rootCA"` }
Config holds configuration options for OpenShift login
func (*Config) Open ¶
Open returns a connector which can be used to login users through an upstream OpenShift OAuth2 provider.
func (*Config) OpenWithHTTPClient ¶ added in v1.1.0
func (c *Config) OpenWithHTTPClient(id string, logger log.Logger, httpClient *http.Client, ) (conn connector.Connector, err error)
OpenWithHTTPClient returns a connector which can be used to login users through an upstream OpenShift OAuth2 provider. It provides the ability to inject a http.Client.
Click to show internal directories.
Click to hide internal directories.