From e467218424ba87feb8792d2b670227a1b92cb7d2 Mon Sep 17 00:00:00 2001 From: Spencer Witt <3409780+spwitt@users.noreply.github.com> Date: Fri, 30 Jan 2026 11:02:46 -0600 Subject: [PATCH] remove retrieveUserUsingJWT client method ENG-3720 --- src/FusionAuth/FusionAuthClient.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/FusionAuth/FusionAuthClient.php b/src/FusionAuth/FusionAuthClient.php index bc736ce..82082b5 100644 --- a/src/FusionAuth/FusionAuthClient.php +++ b/src/FusionAuth/FusionAuthClient.php @@ -5159,22 +5159,6 @@ public function retrieveUserRecentLogins($userId, $offset, $limit) ->go(); } - /** - * Retrieves the user for the given Id. This method does not use an API key, instead it uses a JSON Web Token (JWT) for authentication. - * - * @param string $encodedJWT The encoded JWT (access token). - * - * @return ClientResponse The ClientResponse. - * @throws \Exception - */ - public function retrieveUserUsingJWT($encodedJWT) - { - return $this->startAnonymous()->uri("/api/user") - ->authorization("Bearer " . $encodedJWT) - ->get() - ->go(); - } - /** * Retrieves the FusionAuth version string. *