/**
  * @param string $nameId
  * @param AttributeSet $attributes
  * @param EntityId[] $authenticatingAuthorities
  */
 private function __construct($nameId, AttributeSet $attributes, array $authenticatingAuthorities)
 {
     Assert::string($nameId);
     Assert::allIsInstanceOf($authenticatingAuthorities, '\\OpenConext\\Profile\\Value\\EntityId');
     $this->nameId = $nameId;
     $this->attributes = $attributes;
     $this->authenticatingAuthorities = $authenticatingAuthorities;
 }