function saml_sp_request_store in SAML Service Provider 7.3
Same name and namespace in other branches
- 7.2 saml_sp.module \saml_sp_request_store()
Store and outbount request ID
1 call to saml_sp_request_store()
- saml_sp__track_request in ./
saml_sp.module - Track an outbound request.
File
- ./
saml_sp.module, line 846 - SAML Service Provider
Code
function saml_sp_request_store($id, $data) {
$expire = REQUEST_TIME + SAML_SP_REQUEST_STORE_TIMEOUT;
if (variable_get('saml_sp__debug', FALSE)) {
watchdog('saml_sp', 'Request data: <pre>@request</pre>', array(
'@request' => print_r($data, TRUE),
), WATCHDOG_DEBUG);
}
return db_insert('saml_sp_requests')
->fields(array(
'id' => $id,
'data' => serialize($data),
'expires' => $expire,
))
->execute();
}