You are here

function saml_sp__get_tracked_request in SAML Service Provider 7.8

Same name and namespace in other branches
  1. 8.3 saml_sp.module \saml_sp__get_tracked_request()
  2. 8.2 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()
saml_sp__endpoint in ./saml_sp.pages.inc
Page callback to complete the SAML authentication process. This is the consumer endpoint for all SAML authentication requests.

File

./saml_sp.module, line 582
SAML Service Provider

Code

function saml_sp__get_tracked_request($id) {
  if ($cache = cache_get($id, 'saml_sp_request_tracking_cache')) {
    return $cache->data;
  }
  return FALSE;
}