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
* Removing "Servlet" references
* Removing Prime Mock (not needed now)
* Java client now uses the client and domain from fusionauth-app with some removal of internal junk
* Copyright (c) 2019, FusionAuth, All Rights Reserved
2
+
* Copyright (c) 2019-2022, FusionAuth, All Rights Reserved
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -154,9 +154,9 @@ export class FusionAuthClient {
154
154
/**
155
155
* Check to see if the user must obtain a Trust Token Id in order to complete a change password request.
156
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.
157
+
* your password, you must obtain a Trust Token by completing a Two-Factor Step-Up authentication.
158
158
*
159
-
* An HTTP status code of 412 indicates that a Trust Token is required to make a POST request to this API.
159
+
* 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.
160
160
*
161
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.
162
162
* @returns {Promise<ClientResponse<void>>}
@@ -172,9 +172,9 @@ export class FusionAuthClient {
172
172
/**
173
173
* Check to see if the user must obtain a Trust Token Id in order to complete a change password request.
174
174
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
175
-
* your password, you must obtain a Truest Token by completing a Two-Factor Step-Up authentication.
175
+
* your password, you must obtain a Trust Token by completing a Two-Factor Step-Up authentication.
176
176
*
177
-
* An HTTP status code of 412 indicates that a Trust Token is required to make a POST request to this API.
177
+
* 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.
178
178
*
179
179
* @param {string} encodedJWT The encoded JWT (access token).
180
180
* @returns {Promise<ClientResponse<void>>}
@@ -190,9 +190,9 @@ export class FusionAuthClient {
190
190
/**
191
191
* Check to see if the user must obtain a Trust Request Id in order to complete a change password request.
192
192
* When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change
193
-
* your password, you must obtain a Truest Request Id by completing a Two-Factor Step-Up authentication.
193
+
* your password, you must obtain a Trust Request Id by completing a Two-Factor Step-Up authentication.
194
194
*
195
-
* An HTTP status code of 412 indicates that a Trust Token is required to make a POST request to this API.
195
+
* 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.
196
196
*
197
197
* @param {string} loginId The loginId of the User that you intend to change the password for.
198
198
* @returns {Promise<ClientResponse<void>>}
@@ -1728,6 +1728,23 @@ export class FusionAuthClient {
1728
1728
.go();
1729
1729
}
1730
1730
1731
+
/**
1732
+
* Sends a ping to FusionAuth indicating that the user was automatically logged into an application. When using
1733
+
* FusionAuth's SSO or your own, you should call this if the user is already logged in centrally, but accesses an
1734
+
* application where they no longer have a session. This helps correctly track login counts, times and helps with
1735
+
* reporting.
1736
+
*
1737
+
* @param {LoginPingRequest} request The login request that contains the user credentials used to log them in.
* API response for refreshing a JWT with a Refresh Token.
7162
7216
* <p>
7163
-
* Using a different response object from RefreshTokenResponse because the retrieve response will return an object for refreshToken, and this is a string.
7217
+
* Using a different response object from RefreshTokenResponse because the retrieve response will return an object for refreshToken, and this is a
0 commit comments