public static function Utilities::getVariableNames in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7
1 call to Utilities::getVariableNames()
File
- includes/
Utilities.php, line 537
Class
- Utilities
- This file is part of miniOrange SAML plugin.
Code
public static function getVariableNames($class_name) {
if ($class_name == "mo_options_enum_identity_provider") {
$class_object = array(
'Broker_service' => 'mo_saml_enable_cloud_broker',
'SP_Base_Url' => 'miniorange_saml_base_url',
'SP_Entity_ID' => 'miniorange_saml_entity_id',
);
}
else {
if ($class_name == "mo_options_enum_service_provider") {
$class_object = array(
'Identity_name' => 'miniorange_saml_idp_name',
'Login_URL' => 'miniorange_saml_idp_login_url',
'Issuer' => 'miniorange_saml_idp_issuer',
'Encrypted_Certificate' => 'miniorange_saml_idp_certificate_encrypted',
'Name_ID_format' => 'miniorange_nameid_format',
'X509_certificate' => 'miniorange_saml_idp_x509_certificate',
'Enable_login_with_SAML' => 'miniorange_saml_enable_login',
);
}
}
return $class_object;
}