function saml_sp_authn_context_class_refs in SAML Service Provider 8.3
Same name and namespace in other branches
- 8.2 saml_sp.module \saml_sp_authn_context_class_refs()
- 4.x saml_sp.module \saml_sp_authn_context_class_refs()
- 3.x saml_sp.module \saml_sp_authn_context_class_refs()
Alternate keys for the authn_context_class_ref.
2 calls to saml_sp_authn_context_class_refs()
- IdpForm::form in src/
Form/ IdpForm.php - Gets the actual form array to be built.
- saml_sp__get_settings in ./
saml_sp.module - Get the SAML settings for an IdP.
File
- ./
saml_sp.module, line 420 - SAML Service Provider.
Code
function saml_sp_authn_context_class_refs($reverse = FALSE) {
$array = [
Constants::AC_PASSWORD => 'user_name_and_password',
Constants::AC_PASSWORD_PROTECTED => 'password_protected_transport',
Constants::AC_TLS => 'tls_client',
Constants::AC_X509 => 'x509_certificate',
Constants::AC_WINDOWS => 'integrated_windows_authentication',
Constants::AC_KERBEROS => 'kerberos',
];
if ($reverse) {
$array = array_flip($array);
}
return $array;
}