MCPcopy Create free account
hub / github.com/NativeScript/firebase / confirmPasswordReset

Method confirmPasswordReset

packages/firebase-auth/index.ios.ts:1159–1172  ·  view source on GitHub ↗
(code: string, newPassword: string)

Source from the content-addressed store, hash-verified

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) => {

Callers

nothing calls this directly

Calls 1

fromNativeMethod · 0.45

Tested by

no test coverage detected