You are here

public function Idp::getAuthnContextClassRef in SAML Service Provider 3.x

Same name and namespace in other branches
  1. 8.3 src/Entity/Idp.php \Drupal\saml_sp\Entity\Idp::getAuthnContextClassRef()
  2. 4.x src/Entity/Idp.php \Drupal\saml_sp\Entity\Idp::getAuthnContextClassRef()

Returns the authentication methods requested for this IdP.

Return value

array The authentication methods.

Overrides IdpInterface::getAuthnContextClassRef

File

src/Entity/Idp.php, line 128

Class

Idp
Defines the Idp entity.

Namespace

Drupal\saml_sp\Entity

Code

public function getAuthnContextClassRef() {
  return is_array($this->authn_context_class_ref) ? $this->authn_context_class_ref : FALSE;
}