File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
firebase-auth-rest/core/src/main/java/com/anotherdev/firebase/auth/rest/api Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 44import com .anotherdev .firebase .auth .UserProfileChangeRequest ;
55import com .anotherdev .firebase .auth .UserProfileChangeResponse ;
66import com .anotherdev .firebase .auth .rest .api .model .IdTokenRequest ;
7+ import com .anotherdev .firebase .auth .rest .api .model .SendPasswordResetEmailRequest ;
78import com .anotherdev .firebase .auth .rest .api .model .SignInRequest ;
89import com .anotherdev .firebase .auth .rest .api .model .SignInWithCustomTokenRequest ;
910import com .anotherdev .firebase .auth .rest .api .model .SignInWithEmailPasswordRequest ;
@@ -36,6 +37,10 @@ public interface IdentityToolkitApi {
3637 @ POST ("v1/accounts:signInWithCustomToken" )
3738 Single <SignInResponse > signInWithCustomToken (@ Body SignInWithCustomTokenRequest request );
3839
40+ // FIXME refactor to proper return type
41+ @ POST ("v1/accounts:sendOobCode" )
42+ Single <JsonObject > sendPasswordResetEmail (@ Body SendPasswordResetEmailRequest request );
43+
3944 @ POST ("v1/accounts:lookup" )
4045 Single <JsonObject > getAccounts (@ Body IdTokenRequest request );
4146
Original file line number Diff line number Diff line change 1+ package com .anotherdev .firebase .auth .rest .api .model ;
2+
3+ public interface SendPasswordResetEmailRequest {
4+ }
You can’t perform that action at this time.
0 commit comments