function _saml_sp__prepare in SAML Service Provider 7
Same name and namespace in other branches
- 8.2 saml_sp.module \_saml_sp__prepare()
- 7.8 saml_sp.module \_saml_sp__prepare()
- 7.2 saml_sp.module \_saml_sp__prepare()
- 7.3 saml_sp.module \_saml_sp__prepare()
Load the required OneLogin SAML-PHP toolkit files.
1 call to _saml_sp__prepare()
- saml_sp__get_settings in ./
saml_sp.module - Get the SAML settings for an IDP.
File
- ./
saml_sp.module, line 356 - SAML Service Provider
Code
function _saml_sp__prepare() {
static $has_run = FALSE;
if (!$has_run) {
require_once DRUPAL_SAML_SP__HOME . '/lib/ext/xmlseclibs/xmlseclibs.php';
require_once DRUPAL_SAML_SP__HOME . '/lib/src/OneLogin/Saml/AuthRequest.php';
require_once DRUPAL_SAML_SP__HOME . '/lib/src/OneLogin/Saml/Response.php';
require_once DRUPAL_SAML_SP__HOME . '/lib/src/OneLogin/Saml/Settings.php';
require_once DRUPAL_SAML_SP__HOME . '/lib/src/OneLogin/Saml/XmlSec.php';
$has_run = TRUE;
}
}