function saml_sp__track_request in SAML Service Provider 4.x
Same name and namespace in other branches
- 8.3 saml_sp.module \saml_sp__track_request()
- 8.2 saml_sp.module \saml_sp__track_request()
- 7.8 saml_sp.module \saml_sp__track_request()
- 7 saml_sp.module \saml_sp__track_request()
- 7.2 saml_sp.module \saml_sp__track_request()
- 7.3 saml_sp.module \saml_sp__track_request()
- 3.x saml_sp.module \saml_sp__track_request()
Track an outbound request.
Parameters
string $id: The unique ID of an outbound request.
object $idp: IdP data.
string $callback: The function to invoke on completion of a SAML authentication request.
1 call to saml_sp__track_request()
- SamlSPAuth::login in src/
SAML/ SamlSPAuth.php - Initiates the SSO process.
File
- ./
saml_sp.module, line 297 - SAML Service Provider.
Code
function saml_sp__track_request($id, $idp, $callback) {
$data = [
'id' => $id,
'idp' => $idp
->id(),
'callback' => $callback,
];
$store = saml_sp_get_tempstore('track_request');
$store
->set($id, $data);
}