function saml_sp__get_tracked_request in SAML Service Provider 8.3
Same name and namespace in other branches
- 8.2 saml_sp.module \saml_sp__get_tracked_request()
- 7.8 saml_sp.module \saml_sp__get_tracked_request()
- 7 saml_sp.module \saml_sp__get_tracked_request()
- 7.2 saml_sp.module \saml_sp__get_tracked_request()
- 7.3 saml_sp.module \saml_sp__get_tracked_request()
- 4.x saml_sp.module \saml_sp__get_tracked_request()
- 3.x saml_sp.module \saml_sp__get_tracked_request()
Get the IdP and callback from a tracked request.
Parameters
string $id: The unique ID of an outbound request.
Return value
array|false An array of tracked data, giving the keys:
- id The original outbound ID.
- idp The machine name of the IdP.
- callback The function to invoke on authentication.
1 call to saml_sp__get_tracked_request()
- SamlSPController::consume in src/
Controller/ SamlSPController.php - Receive data back from the IdP.
File
- ./
saml_sp.module, line 340 - SAML Service Provider.
Code
function saml_sp__get_tracked_request($id) {
$store = saml_sp_get_tempstore('track_request');
if ($data = $store
->get($id)) {
return $data;
}
return FALSE;
}