Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MockOpenIDTestUserInteraction ¶
func MockOpenIDTestUserInteraction(ctx context.Context, pro OpenIDClientAppParams, username, password string) (string, string, string, error)
MockOpenIDTestUserInteraction - tries to login to dex using provided credentials. It performs the user's browser interaction to login and retrieves the auth code from dex and exchanges it for a JWT.
Types ¶
type OpenIDClientAppParams ¶
type OpenIDClientAppParams struct {
ClientID, ClientSecret, ProviderURL, RedirectURL string
Transport http.RoundTripper
Debug bool
}
OpenIDClientAppParams - contains openID client application params, used in testing.
Click to show internal directories.
Click to hide internal directories.