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/FusionAuthClient.ts
+59Lines changed: 59 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,60 @@ export class FusionAuthClient {
151
151
.go();
152
152
}
153
153
154
+
/**
155
+
* Check to see if the user must obtain a Trust Token Id in order to complete a change password request.
156
+
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
157
+
* your password, you must obtain a Truest Token by completing a Two-Factor Step-Up authentication.
158
+
*
159
+
* An HTTP status code of 412 indicates that a Trust Token is required to make a POST request to this API.
160
+
*
161
+
* @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.
0 commit comments