You are here

function saml_sp__load_all_idps in SAML Service Provider 3.x

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

Load all the registered IdPs.

Return value

array An array of IdP objects, keyed by the machine name.

3 calls to saml_sp__load_all_idps()
SamlSPAuth::login in src/SAML/SamlSPAuth.php
Initiates the SSO process.
SamlSpDrupalLoginConfig::buildForm in modules/saml_sp_drupal_login/src/Form/SamlSpDrupalLoginConfig.php
Form constructor.
saml_sp_drupal_login_form_user_login_form_alter in modules/saml_sp_drupal_login/saml_sp_drupal_login.module
Implements hook_form_FORM_ID_alter().

File

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

Code

function saml_sp__load_all_idps() {
  $result = Idp::loadMultiple();
  return $result;
}