public static function Utilities::getVariableArray in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8
1 call to Utilities::getVariableArray()
File
- src/
Utilities.php, line 215
Class
- Utilities
- This file is part of miniOrange SAML plugin.
Namespace
Drupal\miniorange_samlCode
public static function getVariableArray($class_name) {
if ($class_name == "mo_options_enum_identity_provider") {
$class_object = array(
'SP_Base_Url' => 'miniorange_saml_base',
'SP_Entity_ID' => 'miniorange_saml_base',
);
}
elseif ($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',
'Name_ID_format' => 'miniorange_saml_nameid_format',
'X509_certificate' => 'miniorange_saml_idp_x509_certificate',
'Enable_login_with_SAML' => 'miniorange_saml_enable_login',
);
}
return $class_object;
}