Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoginConfig ¶
type LoginConfig struct { Endpoint string // an OpenID Connect endpoint ClientID string // a client's ID RedirectURI string // a client's redirect uri Scopes string // OpenID Connect scopes Username string // a user's name Password string // a user's password PasswordStdin bool // a user's password from stdin UsernameField string // a CSS selector of the username field on the login form PasswordField string // a CSS selector of the password field on the login form SubmitButton string // a CSS selector of the submit button on the login form ErrorMessage string // a CSS selector of an error message on the login form }
LoginConfig is a configuration of the login process.
type LoginData ¶
LoginData is a successful result of the login process.
type LogoutConfig ¶
type LogoutConfig struct { Endpoint string // an OpenID Connect endpoint IDToken string // an ID token }
LogoutConfig is a configuration of the logout process.
Click to show internal directories.
Click to hide internal directories.