Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultAuthErrorElement = "span#input-error" DefaultAuthErrorMessage = "Invalid username or password." )
Variables ¶
This section is empty.
Functions ¶
func CustomizeAuthErrorValidator ¶ added in v2.36.16
func CustomizeAuthErrorValidator(account *cfg.IDPAccount) (*authErrorValidator, error)
Types ¶
type Client ¶
type Client struct { provider.ValidateBase // contains filtered or unexported fields }
Client wrapper around KeyCloak.
func (*Client) Authenticate ¶
func (kc *Client) Authenticate(loginDetails *creds.LoginDetails) (string, error)
Authenticate logs into KeyCloak and returns a SAML response
Click to show internal directories.
Click to hide internal directories.