identity = $identity; } public function clearAuthentication(bool $clearIdentity): void { $this->identity = null; } public function getState(): array { return [$this->identity !== null, $this->identity, null]; } public function setExpiration(?string $expire, bool $clearIdentity): void { } public function setNamespace(string $namespace): self { return $this; } }