diff --git a/src/AuthServiceUser.php b/src/AuthServiceUser.php index 7348516..54a8723 100644 --- a/src/AuthServiceUser.php +++ b/src/AuthServiceUser.php @@ -7,14 +7,16 @@ class AuthServiceUser implements UserInterface { - private string $userId = ''; - private string $username = ''; - private array $roles = []; - private ?string $email = null; - private ?AccessTokenInterface $token = null; - private ?string $applicationId = null; - private ?string $organisationId = null; - private ?string $blobId = null; + protected string $userId = ''; + protected string $username = ''; + protected array $roles = []; + protected ?string $email = null; + protected ?AccessTokenInterface $token = null; + protected ?string $applicationId = null; + protected ?string $organisationId = null; + protected ?string $blobId = null; + protected string $thumbnail = ''; + protected array $objectAccess = []; /** * @return string[] @@ -39,7 +41,7 @@ public function getUserIdentifier(): string public function getThumbnail(): string { - return ""; + return $this->thumbnail; } public function getId(): string @@ -97,6 +99,11 @@ public function getBlobId(): ?string return $this->blobId; } + public function getObjectAccess(): array + { + return $this->objectAccess; + } + public function eraseCredentials(): void { } @@ -147,4 +154,16 @@ public function setBlobId(?string $blobId): static $this->blobId = $blobId; return $this; } + + public function setObjectAccess(array $objectAccess): static + { + $this->objectAccess = $objectAccess; + return $this; + } + + public function setThumbnail(string $thumbnail): static + { + $this->thumbnail = $thumbnail; + return $this; + } }