|
Squiz Matrix
4.12.2
|
Public Member Functions | |
| __construct ($authSource) | |
| login (array $params=array()) | |
| logout ($params=NULL) | |
| printSPMetadataXML ($acs_url, $sls_url) | |
Protected Attributes | |
| $authSource | |
Definition at line 31 of file saml_auth_manager.inc.
| __construct | ( | $authSource | ) |
Create an instance with the specified authsource.
| string | $authSource | The id of the authentication source. |
Definition at line 48 of file saml_auth_manager.inc.
| login | ( | array | $params = array() | ) |
Start an authentication process.
This function never returns.
This function accepts an array $params, which controls some parts of the authentication. The accepted parameters depends on the authentication source being used. Some parameters are generic:
| array | $params | various login options |
Definition at line 73 of file saml_auth_manager.inc.
| logout | ( | $params = NULL | ) |
Log the user out.
This function logs the user out. It will never return. By default, it will cause a redirect to the current page after logging the user out, but a different URL can be given with the $params parameter.
Generic parameters are:
| array | $params | Either the url the user should be redirected to after logging out, |
Definition at line 170 of file saml_auth_manager.inc.
| printSPMetadataXML | ( | $acs_url, | |
| $sls_url | |||
| ) |
Generate SP Metadata in XML format
| string | $acs_url | ACS url |
| string | $sls_url | SLS url |
Definition at line 230 of file saml_auth_manager.inc.