You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/FusionAuth/FusionAuthClient.php
+26-4Lines changed: 26 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -292,15 +292,37 @@ public function checkChangePasswordUsingJWT($encodedJWT)
292
292
*
293
293
* An HTTP status code of 400 with a general error code of [TrustTokenRequired] indicates that a Trust Token is required to make a POST request to this API.
294
294
*
295
-
* @param string $loginId The loginId of the User that you intend to change the password for.
295
+
* @param string $loginId The loginId (email or username) of the User that you intend to change the password for.
* Check to see if the user must obtain a Trust Request Id in order to complete a change password request.
310
+
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
311
+
* your password, you must obtain a Trust Request Id by completing a Two-Factor Step-Up authentication.
312
+
*
313
+
* An HTTP status code of 400 with a general error code of [TrustTokenRequired] indicates that a Trust Token is required to make a POST request to this API.
314
+
*
315
+
* @param string $loginId The loginId of the User that you intend to change the password for.
316
+
* @param array $loginIdTypes The identity types that FusionAuth will compare the loginId to.
0 commit comments