You are here

public function Idp::getAuthnContextClassRef in SAML Service Provider 8.3

Same name and namespace in other branches
  1. 4.x src/Entity/Idp.php \Drupal\saml_sp\Entity\Idp::getAuthnContextClassRef()
  2. 3.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;
}