You are here

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

Check whether the NameId is encrypted.

Return value

TRUE if the NameId is encrypted, FALSE if not.

File

includes/Assertion.php, line 504

Class

SAML2_Assertion

Code

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