MCPcopy Index your code
hub / github.com/NativeScript/firebase / signInWithEmailLink

Method signInWithEmailLink

packages/firebase-auth/index.ios.ts:1094–1108  ·  view source on GitHub ↗
(email: string, emailLink: string)

Source from the content-addressed store, hash-verified

1092 }
1093
1094 signInWithEmailLink(email: string, emailLink: string): Promise<IUserCredential> {
1095 return new Promise((resolve, reject) => {
1096 if (!this.native) {
1097 reject();
1098 } else {
1099 this.native.signInWithEmailLinkCompletion(email, emailLink, (result, error) => {
1100 if (error) {
1101 reject(FirebaseError.fromNative(error));
1102 } else {
1103 resolve(toUserCredential(result));
1104 }
1105 });
1106 }
1107 });
1108 }
1109
1110 useUserAccessGroup(userAccessGroup: string): Promise<void> {
1111 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 2

toUserCredentialFunction · 0.70
fromNativeMethod · 0.45

Tested by

no test coverage detected