Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthResponseType ¶
type AuthResponseType int
const ( UNKNOWN AuthResponseType = iota SAML_RESPONSE MFA_PROMPT AZURE_MFA_WAIT AZURE_MFA_SERVER_WAIT )
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wrapper around ADFS enabling authentication and retrieval of assertions
func (*Client) Authenticate ¶
func (ac *Client) Authenticate(loginDetails *creds.LoginDetails) (string, error)
Authenticate to ADFS and return the data from the body of the SAML assertion.
Click to show internal directories.
Click to hide internal directories.