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
+175-1Lines changed: 175 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -232,6 +232,26 @@ export class FusionAuthClient {
232
232
.go();
233
233
}
234
234
235
+
/**
236
+
* Check to see if the user must obtain a Trust Token Id in order to complete a change password request.
237
+
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
238
+
* your password, you must obtain a Trust Token by completing a Two-Factor Step-Up authentication.
239
+
*
240
+
* 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.
241
+
*
242
+
* @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.
243
+
* @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.
237
257
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
@@ -250,6 +270,26 @@ export class FusionAuthClient {
250
270
.go();
251
271
}
252
272
273
+
/**
274
+
* Check to see if the user must obtain a Trust Token Id in order to complete a change password request.
275
+
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
276
+
* your password, you must obtain a Trust Token by completing a Two-Factor Step-Up authentication.
277
+
*
278
+
* 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.
279
+
*
280
+
* @param {string} encodedJWT The encoded JWT (access token).
281
+
* @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.
255
295
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
@@ -268,6 +308,26 @@ export class FusionAuthClient {
268
308
.go();
269
309
}
270
310
311
+
/**
312
+
* Check to see if the user must obtain a Trust Request Id in order to complete a change password request.
313
+
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
314
+
* your password, you must obtain a Trust Request Id by completing a Two-Factor Step-Up authentication.
315
+
*
316
+
* 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.
317
+
*
318
+
* @param {string} loginId The loginId (email or username) of the User that you intend to change the password for.
319
+
* @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.
273
333
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
@@ -288,6 +348,28 @@ export class FusionAuthClient {
288
348
.go();
289
349
}
290
350
351
+
/**
352
+
* Check to see if the user must obtain a Trust Request Id in order to complete a change password request.
353
+
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
354
+
* your password, you must obtain a Trust Request Id by completing a Two-Factor Step-Up authentication.
355
+
*
356
+
* 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.
357
+
*
358
+
* @param {string} loginId The loginId of the User that you intend to change the password for.
359
+
* @param {Array<String>} loginIdTypes The identity types that FusionAuth will compare the loginId to.
360
+
* @param {string} ipAddress (Optional) IP address of the user changing their password. This is used for MFA risk assessment.
0 commit comments