From 31929541ce5d80963b7f34505d25c31ffdec8aaf Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 14 Feb 2024 17:18:54 +0100 Subject: [PATCH] fix(federation)!: Deprecate Enviroment federation info in favor of authenticator Signed-off-by: Joas Schilling --- lib/Controller/AEnvironmentAwareController.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lib/Controller/AEnvironmentAwareController.php b/lib/Controller/AEnvironmentAwareController.php index 1a96e207b47a..95a05449de49 100644 --- a/lib/Controller/AEnvironmentAwareController.php +++ b/lib/Controller/AEnvironmentAwareController.php @@ -36,7 +36,13 @@ abstract class AEnvironmentAwareController extends OCSController { protected int $apiVersion = 1; protected ?Room $room = null; protected ?Participant $participant = null; + /** + * @deprecated + */ protected ?string $federationCloudId = null; + /** + * @deprecated + */ protected ?string $federationAccessToken = null; public function setAPIVersion(int $apiVersion): void { @@ -63,15 +69,24 @@ public function getParticipant(): ?Participant { return $this->participant; } + /** + * @deprecated + */ public function setRemoteAccess(?string $actorId, ?string $accessToken): void { $this->federationCloudId = $actorId; $this->federationAccessToken = $accessToken; } + /** + * @deprecated + */ public function getRemoteAccessCloudId(): ?string { return $this->federationCloudId; } + /** + * @deprecated + */ public function getRemoteAccessToken(): ?string { return $this->federationAccessToken; }