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

Method signInWithEmailLink

packages/firebase-auth/index.android.ts:1215–1235  ·  view source on GitHub ↗
(email: string, emailLink: string)

Source from the content-addressed store, hash-verified

1213 }
1214
1215 signInWithEmailLink(email: string, emailLink: string): Promise<IUserCredential> {
1216 return new Promise((resolve, reject) => {
1217 if (!this.native) {
1218 reject();
1219 } else {
1220 NSFirebaseAuth().signInWithEmailLink(
1221 this.native,
1222 email,
1223 emailLink,
1224 new org.nativescript.firebase.auth.FirebaseAuth.Callback({
1225 onSuccess(success) {
1226 resolve(toUserCredential(success));
1227 },
1228 onError(error) {
1229 reject(FirebaseError.fromNative(error));
1230 },
1231 })
1232 );
1233 }
1234 });
1235 }
1236
1237 useUserAccessGroup(userAccessGroup: string): Promise<void> {
1238 return Promise.reject();

Callers

nothing calls this directly

Calls 1

signInWithEmailLinkMethod · 0.65

Tested by

no test coverage detected