You are here

function saml_sp__get_tracked_request in SAML Service Provider 8.2

Same name and namespace in other branches
  1. 8.3 saml_sp.module \saml_sp__get_tracked_request()
  2. 7.8 saml_sp.module \saml_sp__get_tracked_request()
  3. 7 saml_sp.module \saml_sp__get_tracked_request()
  4. 7.2 saml_sp.module \saml_sp__get_tracked_request()
  5. 7.3 saml_sp.module \saml_sp__get_tracked_request()
  6. 4.x saml_sp.module \saml_sp__get_tracked_request()
  7. 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 330
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;
}