Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a Dex client that uses Dex' web UI to acquire an ID token.
func NewClient ¶
func NewClient(clientID string, redirectURI string, providerURI string, log *zap.SugaredLogger) (*Client, error)
NewClient creates a new OIDC client. See the Client struct for definitions on the parameters.
func NewClientFromHelmValues ¶
func NewClientFromHelmValues(valuesFile string, clientID string, log *zap.SugaredLogger) (*Client, error)
NewClientFromHelmValues is a helper for e2e tests, reading the hack/ci/testdata/oauth_values.yaml to provide a matching OIDC client. We use this instead of spreading the client ID etc. in tons of shell scripts and env vars.
Click to show internal directories.
Click to hide internal directories.