Documentation ¶
Index ¶
Constants ¶
View Source
const SAML_SUCCESS = "urn:oasis:names:tc:SAML:2.0:status:Success"
View Source
const SHIB_DUO_FACTOR = "X-Shibboleth-Duo-Factor"
View Source
const SHIB_DUO_PASSCODE = "X-Shibboleth-Duo-Passcode"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { provider.ValidateBase // contains filtered or unexported fields }
Client wrapper around shibbolethecp enabling authentication and retrieval of assertions
func New ¶
func New(idpAccount *cfg.IDPAccount) (*Client, error)
New creates a new shibboleth-ecp client
func (*Client) Authenticate ¶
func (c *Client) Authenticate(loginDetails *creds.LoginDetails) (string, error)
Authenticate authenticates to a Shibboleth ECP profile and return the data from the body of the SAML assertion.
Click to show internal directories.
Click to hide internal directories.