function saml_sp__load_all_idps in SAML Service Provider 7.8
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 saml_sp.module \saml_sp__load_all_idps()
- 7.2 saml_sp.module \saml_sp__load_all_idps()
- 7.3 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.
4 calls to saml_sp__load_all_idps()
- saml_sp_Auth::login in includes/
saml_sp.Auth.inc - Initiates the SSO process.
- 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_overview in ./
saml_sp.admin.inc - Overview page. Display a list of IDPs in a table.
File
- ./
saml_sp.module, line 227 - 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');
return $result;
}