You are here

function saml_sp__track_request in SAML Service Provider 3.x

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.8 saml_sp.module \saml_sp__track_request()
  4. 7 saml_sp.module \saml_sp__track_request()
  5. 7.2 saml_sp.module \saml_sp__track_request()
  6. 7.3 saml_sp.module \saml_sp__track_request()
  7. 4.x saml_sp.module \saml_sp__track_request()

Track an outbound request.

Parameters

string $id: The unique ID of an outbound request.

object $idp: IdP data.

string $callback: The function to invoke on completion of a SAML authentication request.

1 call to saml_sp__track_request()
SamlSPAuth::login in src/SAML/SamlSPAuth.php
Initiates the SSO process.

File

./saml_sp.module, line 282
SAML Service Provider.

Code

function saml_sp__track_request($id, $idp, $callback) {
  $data = [
    'id' => $id,
    'idp' => $idp
      ->id(),
    'callback' => $callback,
  ];
  $store = saml_sp_get_tempstore('track_request');
  $store
    ->set($id, $data);
}