Skip to content

Commit 141a6d5

Browse files
authored
remove retrieveUserUsingJWT client method (#228)
ENG-3720
1 parent 32260fd commit 141a6d5

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/FusionAuthClient.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4692,20 +4692,6 @@ export class FusionAuthClient {
46924692
.go();
46934693
}
46944694

4695-
/**
4696-
* 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.
4697-
*
4698-
* @param {string} encodedJWT The encoded JWT (access token).
4699-
* @returns {Promise<ClientResponse<UserResponse>>}
4700-
*/
4701-
retrieveUserUsingJWT(encodedJWT: string): Promise<ClientResponse<UserResponse>> {
4702-
return this.startAnonymous<UserResponse, Errors>()
4703-
.withUri('/api/user')
4704-
.withAuthorization('Bearer ' + encodedJWT)
4705-
.withMethod("GET")
4706-
.go();
4707-
}
4708-
47094695
/**
47104696
* Retrieves the FusionAuth version string.
47114697
*

0 commit comments

Comments
 (0)