public static function Utilities::miniorange_saml_is_sp_configured in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7
2 calls to Utilities::miniorange_saml_is_sp_configured()
- miniorange_saml_export_config in ./
miniorange_saml_export_config.inc - Showing Support form info.
- test_configuration in ./
miniorange_saml.module - Test configuration callback
File
- includes/
Utilities.php, line 508
Class
- Utilities
- This file is part of miniOrange SAML plugin.
Code
public static function miniorange_saml_is_sp_configured() {
$saml_login_url = variable_get('miniorange_saml_idp_login_url');
$saml_idp_issuer = variable_get('miniorange_saml_idp_issuer');
$saml_x509_certificate = variable_get('miniorange_saml_idp_x509_certificate');
if (!empty($saml_login_url) && !empty($saml_x509_certificate) && !empty($saml_idp_issuer)) {
return 1;
}
else {
return 0;
}
}