public function SAML2_Assertion::setNameId in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7
Set the NameId of the subject in the assertion.
The NameId must be in the format accepted by Utilities::addNameId().
Parameters
array|NULL $nameId The name identifier of the assertion.:
See also
Utilities::addNameId()
File
- includes/
Assertion.php, line 492
Class
Code
public function setNameId($nameId) {
assert('is_array($nameId) || is_null($nameId)');
$this->nameId = $nameId;
}