You are here

public function Idp::setAuthn_context_class_ref in SAML Service Provider 8.2

Overrides IdpInterface::setAuthn_context_class_ref

File

src/Entity/Idp.php, line 105

Class

Idp
Defines the Idp entity.

Namespace

Drupal\saml_sp\Entity

Code

public function setAuthn_context_class_ref($authn_context_class_ref) {
  $array = array();
  foreach ($authn_context_class_ref as $value) {
    if ($value) {
      $array[$value] = $value;
    }
  }
  $this->authn_context_class_ref = $array;
}