You are here

function saml_sp_get_authn_contexts in SAML Service Provider 7.3

Same name and namespace in other branches
  1. 7.2 saml_sp.module \saml_sp_get_authn_contexts()

a list of supported AuthnContexts

2 calls to saml_sp_get_authn_contexts()
saml_sp_authn_context_settings in ./saml_sp.module
generate the setting for authn contexts
saml_sp__configure_idp_form in ./saml_sp.admin.inc
Configure or add a SAML IDP.

File

./saml_sp.module, line 832
SAML Service Provider

Code

function saml_sp_get_authn_contexts() {
  return array(
    'urn:oasis:names:tc:SAML:2.0:ac:classes:Password' => array(
      'id' => 'P',
      'label' => t('User Name and Password'),
    ),
    'urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport' => array(
      'id' => 'PPT',
      'label' => t('Password Protected Transport'),
    ),
    'urn:oasis:names:tc:SAML:2.0:ac:classes:TLSClient' => array(
      'id' => 'TLS',
      'label' => t('Transport Layer Security (TLS) Client'),
    ),
    'urn:oasis:names:tc:SAML:2.0:ac:classes:X509' => array(
      'id' => 'x509',
      'label' => t('X.509 Certificate'),
    ),
    'urn:federation:authentication:windows' => array(
      'id' => 'IWA',
      'label' => t('Integrated Windows Authentication'),
    ),
    'urn:oasis:names:tc:SAML:2.0:ac:classes:Kerberos' => array(
      'id' => 'K',
      'label' => t('Kerberos'),
    ),
  );
}