You are here

function saml_sp__track_request in SAML Service Provider 7.8

Same name and namespace in other branches
  1. 8.3 saml_sp.module \saml_sp__track_request()
  2. 8.2 saml_sp.module \saml_sp__track_request()
  3. 7 saml_sp.module \saml_sp__track_request()
  4. 7.2 saml_sp.module \saml_sp__track_request()
  5. 7.3 saml_sp.module \saml_sp__track_request()
  6. 4.x saml_sp.module \saml_sp__track_request()
  7. 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_Auth::login in includes/saml_sp.Auth.inc
Initiates the SSO process.

File

./saml_sp.module, line 558
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);
}