You are here

public function SAML2_Assertion::isNameIdEncrypted in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8

Check whether the NameId is encrypted.

Return value

TRUE if the NameId is encrypted, FALSE if not.

File

src/SAML2_Assertion.php, line 457

Class

SAML2_Assertion

Namespace

Drupal\miniorange_saml

Code

public function isNameIdEncrypted() {
  if ($this->encryptedNameId !== NULL) {
    return TRUE;
  }
  return FALSE;
}