(code: string, newPassword: string)
| 1157 | } |
| 1158 | |
| 1159 | confirmPasswordReset(code: string, newPassword: string): Promise<void> { |
| 1160 | return new Promise((resolve, reject) => { |
| 1161 | if (!this.native) { |
| 1162 | reject(); |
| 1163 | } |
| 1164 | this.native.confirmPasswordResetWithCodeNewPasswordCompletion(code, newPassword, (error) => { |
| 1165 | if (error) { |
| 1166 | reject(FirebaseError.fromNative(error)); |
| 1167 | } else { |
| 1168 | resolve(); |
| 1169 | } |
| 1170 | }); |
| 1171 | }); |
| 1172 | } |
| 1173 | |
| 1174 | checkActionCode(code: string): Promise<ActionCodeInfo> { |
| 1175 | return new Promise((resolve, reject) => { |
nothing calls this directly
no test coverage detected