(email: string, emailLink: string)
| 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(); |
nothing calls this directly
no test coverage detected