function saml_sp__track_request in SAML Service Provider 7
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.2 saml_sp.module \saml_sp__track_request()
- 7.3 saml_sp.module \saml_sp__track_request()
- 4.x 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. $param Object $idp IDP data.
String $callback: The function to invoke on completion of a SAML authentication request.
1 call to saml_sp__track_request()
- saml_sp_start in ./
saml_sp.module - Start a SAML authentication request.
File
- ./
saml_sp.module, line 302 - SAML Service Provider
Code
function saml_sp__track_request($id, $idp, $callback) {
$data = array(
'id' => $id,
'idp' => $idp->machine_name,
'callback' => $callback,
);
$expire = REQUEST_TIME + SAML_SP_REQUEST_CACHE_TIMEOUT;
cache_set($id, $data, 'saml_sp_request_tracking_cache', $expire);
}