diff --git a/src/FusionAuth/FusionAuthClient.php b/src/FusionAuth/FusionAuthClient.php index f5c9ad4..cd51897 100644 --- a/src/FusionAuth/FusionAuthClient.php +++ b/src/FusionAuth/FusionAuthClient.php @@ -6344,6 +6344,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. *