function saml_sp__load_all_idps in SAML Service Provider 7.3
Same name and namespace in other branches
- 8.3 saml_sp.module \saml_sp__load_all_idps()
- 8.2 saml_sp.module \saml_sp__load_all_idps()
- 7.8 saml_sp.module \saml_sp__load_all_idps()
- 7 saml_sp.module \saml_sp__load_all_idps()
- 7.2 saml_sp.module \saml_sp__load_all_idps()
- 4.x saml_sp.module \saml_sp__load_all_idps()
- 3.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.
5 calls to saml_sp__load_all_idps()
- saml_sp_Auth::login in includes/
saml_sp.Auth.inc - saml_sp_drupal_login__admin_config_form in modules/
saml_sp_drupal_login/ saml_sp_drupal_login.admin.inc - Configure which IDP to use when authenticating with Drupal.
- saml_sp_idp_load in ./
saml_sp.module - Load a single IDP. Also a menu argument loader.
- saml_sp__admin_config in ./
saml_sp.admin.inc - configure this SAML Service Provider
- saml_sp__admin_overview in ./
saml_sp.admin.inc - Overview page. Display a list of IDPs in a table.
File
- ./
saml_sp.module, line 284 - SAML Service Provider
Code
function saml_sp__load_all_idps() {
// Use CTools export API to fetch all presets.
ctools_include('export');
$result = ctools_export_crud_load_all('saml_sp_idps');
if (variable_get('saml_sp__debug', FALSE)) {
watchdog('saml_sp', __FUNCTION__ . ' - $result => <pre>@result</pre>', array(
'@result' => print_r($result, TRUE),
), WATCHDOG_DEBUG);
}
return $result;
}