function saml_sp_authn_context_class_refs in SAML Service Provider 8.2
Same name and namespace in other branches
- 8.3 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 424 - SAML Service Provider
Code
function saml_sp_authn_context_class_refs($reverse = FALSE) {
$array = array(
'urn:oasis:names:tc:SAML:2.0:ac:classes:Password' => 'user_name_and_password',
'urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport' => 'password_protected_transport',
'urn:oasis:names:tc:SAML:2.0:ac:classes:TLSClient' => 'tls_client',
'urn:oasis:names:tc:SAML:2.0:ac:classes:X509' => 'x509_certificate',
'urn:federation:authentication:windows' => 'integrated_windows_authentication',
'urn:oasis:names:tc:SAML:2.0:ac:classes:Kerberos' => 'kerberos',
);
if ($reverse) {
$array = array_flip($array);
}
return $array;
}