Skip to content

Commit eb77c7d

Browse files
authored
Merge wied03/ENG-2158/change-password (#171)
* add new overload case * New file, is commit missed * fix comment capitalization
1 parent 42b44ba commit eb77c7d

4 files changed

+39
-5
lines changed

src/main/api/checkChangePasswordUsingLoginId.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
{
1616
"name": "loginId",
1717
"comments": [
18-
"The loginId of the User that you intend to change the password for."
18+
"The loginId (email or username) of the User that you intend to change the password for."
1919
],
2020
"type": "urlParameter",
21-
"parameterName": "username",
21+
"parameterName": "loginId",
2222
"javaType": "String"
2323
}
2424
]
25-
}
25+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"uri": "/api/user/change-password",
3+
"comments": [
4+
"Check to see if the user must obtain a Trust Request Id in order to complete a change password request.",
5+
"When a user has enabled Two-Factor authentication, before you are allowed to use the Change Password API to change",
6+
"your password, you must obtain a Trust Request Id by completing a Two-Factor Step-Up authentication.",
7+
"",
8+
"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."
9+
],
10+
"method": "get",
11+
"methodName": "checkChangePasswordUsingLoginIdAndLoginIdTypes",
12+
"successResponse": "Void",
13+
"errorResponse": "Errors",
14+
"params": [
15+
{
16+
"name": "loginId",
17+
"comments": [
18+
"The loginId of the User that you intend to change the password for."
19+
],
20+
"type": "urlParameter",
21+
"parameterName": "loginId",
22+
"javaType": "String"
23+
},
24+
{
25+
"name": "loginIdTypes",
26+
"comments": [
27+
"The identity types that FusionAuth will compare the loginId to."
28+
],
29+
"type": "urlParameter",
30+
"parameterName": "loginIdTypes",
31+
"javaType": "List<String>"
32+
}
33+
]
34+
}

src/main/api/retrieveUserByLoginIdWithLoginIdTypes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{
2121
"name": "loginIdTypes",
2222
"comments": [
23-
"the identity types that FusionAuth will compare the loginId to."
23+
"The identity types that FusionAuth will compare the loginId to."
2424
],
2525
"type": "urlParameter",
2626
"parameterName": "loginIdTypes",

src/main/api/retrieveUserLoginReportByLoginIdAndLoginIdTypes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
{
4949
"name": "loginIdTypes",
5050
"comments": [
51-
"the identity types that FusionAuth will compare the loginId to."
51+
"The identity types that FusionAuth will compare the loginId to."
5252
],
5353
"type": "urlParameter",
5454
"parameterName": "loginIdTypes",

0 commit comments

Comments
 (0)