Method |
Description |
|
__construct ( OneLogin_Saml2_Auth $auth ) |
|
|
acs ( ) |
Process a Saml response (assertion consumer service)
When errors are encountered, it returns an array with proper description |
|
getMetadata ( ) : mixed |
Show metadata about the local sp. Use this to configure your saml2 IDP |
|
getSaml2User ( ) : Saml2User |
The user info from the assertion |
|
isAuthenticated ( ) : boolean |
|
|
login ( $returnTo = null ) |
Initiate a saml2 login flow. It will redirect! Before calling this, check if user is
authenticated (here in saml2). That would be true when the assertion was received this request. |
|
logout ( $returnTo = null, $nameId = null, $sessionIndex = null ) |
Initiate a saml2 logout flow. It will close session on all other SSO services. You should close
local session if applicable. |
|
sls ( $retrieveParametersFromServer = false ) |
Process a Saml response (assertion consumer service)
returns an array with errors if it can not logout |
|