File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "uri" : " /api/user/change-password" ,
3+ "comments" : [
4+ " Changes a user's password using their access token (JWT) instead of the changePasswordId" ,
5+ " A common use case for this method will be if you want to allow the user to change their own password." ,
6+ " " ,
7+ " Remember to send refreshToken in the request body if you want to get a new refresh token when login using the returned oneTimePassword."
8+ ],
9+ "method" : " post" ,
10+ "methodName" : " changePasswordByJWT" ,
11+ "successResponse" : " ChangePasswordResponse" ,
12+ "errorResponse" : " Errors" ,
13+ "anonymous" : true ,
14+ "authorization" : " \" Bearer \" + encodedJWT" ,
15+ "params" : [
16+ {
17+ "name" : " encodedJWT" ,
18+ "comments" : [
19+ " The encoded JWT (access token)."
20+ ],
21+ "type" : " notUsed" ,
22+ "javaType" : " String"
23+ },
24+ {
25+ "name" : " request" ,
26+ "comments" : [
27+ " The change password request that contains all the information used to change the password."
28+ ],
29+ "type" : " body" ,
30+ "javaType" : " ChangePasswordRequest"
31+ }
32+ ]
33+ }
You can’t perform that action at this time.
0 commit comments