You are here

function saml_sp_idp_load in SAML Service Provider 3.x

Same name and namespace in other branches
  1. 8.3 saml_sp.module \saml_sp_idp_load()
  2. 8.2 saml_sp.module \saml_sp_idp_load()
  3. 7.8 saml_sp.module \saml_sp_idp_load()
  4. 7 saml_sp.module \saml_sp_idp_load()
  5. 7.2 saml_sp.module \saml_sp_idp_load()
  6. 7.3 saml_sp.module \saml_sp_idp_load()
  7. 4.x saml_sp.module \saml_sp_idp_load()

Load a single IdP.

1 call to saml_sp_idp_load()
SamlSPController::consume in src/Controller/SamlSPController.php
Receive data back from the IdP.
1 string reference to 'saml_sp_idp_load'
IdpForm::form in src/Form/IdpForm.php
Gets the actual form array to be built.

File

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

Code

function saml_sp_idp_load($idp_machine_name) {
  if (is_string($idp_machine_name)) {
    return Idp::load($idp_machine_name);
  }
  if (is_array($idp_machine_name)) {
    return $idp_machine_name;
  }
}