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

Method verifyPasswordResetCode

packages/firebase-auth/index.android.ts:1241–1260  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

1239 }
1240
1241 verifyPasswordResetCode(code: string): Promise<string> {
1242 return new Promise((resolve, reject) => {
1243 if (!this.native) {
1244 reject();
1245 } else {
1246 NSFirebaseAuth().verifyPasswordResetCode(
1247 this.native,
1248 code,
1249 new org.nativescript.firebase.auth.FirebaseAuth.Callback({
1250 onSuccess(success) {
1251 resolve(success);
1252 },
1253 onError(error) {
1254 reject(FirebaseError.fromNative(error));
1255 },
1256 })
1257 );
1258 }
1259 });
1260 }
1261
1262 createUserWithEmailAndPassword(email: string, password: string): Promise<IUserCredential> {
1263 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected