From a1af6de2e5545b633f19d4d1e584bb671be01268 Mon Sep 17 00:00:00 2001 From: Spencer Witt Date: Mon, 9 Jun 2025 15:37:57 -0500 Subject: [PATCH] add /api/user/verify and request to clients --- src/FusionAuth/FusionAuthClient.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/FusionAuth/FusionAuthClient.php b/src/FusionAuth/FusionAuthClient.php index 2beb35f..44a9d4c 100644 --- a/src/FusionAuth/FusionAuthClient.php +++ b/src/FusionAuth/FusionAuthClient.php @@ -6323,6 +6323,22 @@ public function verifyEmailAddressByUserId($request) ->go(); } + /** + * Administratively verify a user identity. + * + * @param array $request The identity verify request that contains information to verify the identity. + * + * @return ClientResponse The ClientResponse. + * @throws \Exception + */ + public function verifyIdentity($request) + { + return $this->start()->uri("/api/identity/verify") + ->bodyHandler(new JSONBodyHandler($request)) + ->post() + ->go(); + } + /** * Confirms an application registration. The Id given is usually from an email sent to the user. *