(customToken: string)
| 1076 | } |
| 1077 | |
| 1078 | signInWithCustomToken(customToken: string): Promise<IUserCredential> { |
| 1079 | return new Promise((resolve, reject) => { |
| 1080 | if (!this.native) { |
| 1081 | reject(); |
| 1082 | } else { |
| 1083 | this.native.signInWithCustomTokenCompletion(customToken, (result, error) => { |
| 1084 | if (error) { |
| 1085 | reject(FirebaseError.fromNative(error)); |
| 1086 | } else { |
| 1087 | resolve(toUserCredential(result)); |
| 1088 | } |
| 1089 | }); |
| 1090 | } |
| 1091 | }); |
| 1092 | } |
| 1093 | |
| 1094 | signInWithEmailLink(email: string, emailLink: string): Promise<IUserCredential> { |
| 1095 | return new Promise((resolve, reject) => { |
nothing calls this directly
no test coverage detected