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
+110Lines changed: 110 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -265,6 +265,28 @@ public function checkChangePasswordUsingId($changePasswordId)
265
265
->go();
266
266
}
267
267
268
+
/**
269
+
* Check to see if the user must obtain a Trust Token Id in order to complete a change password request.
270
+
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
271
+
* your password, you must obtain a Trust Token by completing a Two-Factor Step-Up authentication.
272
+
*
273
+
* 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.
274
+
*
275
+
* @param string $changePasswordId The change password Id used to find the user. This value is generated by FusionAuth once the change password workflow has been initiated.
276
+
* @param string $ipAddress (Optional) IP address of the user changing their password. This is used for MFA risk assessment.
* Check to see if the user must obtain a Trust Token Id in order to complete a change password request.
270
292
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
@@ -285,6 +307,28 @@ public function checkChangePasswordUsingJWT($encodedJWT)
285
307
->go();
286
308
}
287
309
310
+
/**
311
+
* Check to see if the user must obtain a Trust Token Id in order to complete a change password request.
312
+
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
313
+
* your password, you must obtain a Trust Token by completing a Two-Factor Step-Up authentication.
314
+
*
315
+
* 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.
316
+
*
317
+
* @param string $encodedJWT The encoded JWT (access token).
318
+
* @param string $ipAddress (Optional) IP address of the user changing their password. This is used for MFA risk assessment.
* Check to see if the user must obtain a Trust Request Id in order to complete a change password request.
290
334
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
@@ -305,6 +349,28 @@ public function checkChangePasswordUsingLoginId($loginId)
305
349
->go();
306
350
}
307
351
352
+
/**
353
+
* Check to see if the user must obtain a Trust Request Id in order to complete a change password request.
354
+
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
355
+
* your password, you must obtain a Trust Request Id by completing a Two-Factor Step-Up authentication.
356
+
*
357
+
* 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.
358
+
*
359
+
* @param string $loginId The loginId (email or username) of the User that you intend to change the password for.
360
+
* @param string $ipAddress (Optional) IP address of the user changing their password. This is used for MFA risk assessment.
* Check to see if the user must obtain a Trust Request Id in order to complete a change password request.
310
376
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
@@ -327,6 +393,30 @@ public function checkChangePasswordUsingLoginIdAndLoginIdTypes($loginId, $loginI
327
393
->go();
328
394
}
329
395
396
+
/**
397
+
* Check to see if the user must obtain a Trust Request Id in order to complete a change password request.
398
+
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
399
+
* your password, you must obtain a Trust Request Id by completing a Two-Factor Step-Up authentication.
400
+
*
401
+
* 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.
402
+
*
403
+
* @param string $loginId The loginId of the User that you intend to change the password for.
404
+
* @param array $loginIdTypes The identity types that FusionAuth will compare the loginId to.
405
+
* @param string $ipAddress (Optional) IP address of the user changing their password. This is used for MFA risk assessment.
0 commit comments