You are here

function saml_sp_idp_load in SAML Service Provider 7

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.2 saml_sp.module \saml_sp_idp_load()
  5. 7.3 saml_sp.module \saml_sp_idp_load()
  6. 4.x saml_sp.module \saml_sp_idp_load()
  7. 3.x saml_sp.module \saml_sp_idp_load()

Load a single IDP. Also a menu argument loader.

Parameters

String $idp_machine_name:

Return value

Object

2 calls to saml_sp_idp_load()
saml_sp_drupal_login__get_idp in modules/saml_sp_drupal_login/saml_sp_drupal_login.module
Get the IDP configuration to use for Drupal Login via SAML.
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.
1 string reference to 'saml_sp_idp_load'
saml_sp__configure_idp_form in ./saml_sp.admin.inc
Configure or add a SAML IDP.

File

./saml_sp.module, line 149
SAML Service Provider

Code

function saml_sp_idp_load($idp_machine_name) {
  $all_idps = saml_sp__load_all_idps();
  return isset($all_idps[$idp_machine_name]) ? $all_idps[$idp_machine_name] : FALSE;
}