(actionCodeSettings?: ActionCodeSettings)
| 334 | } |
| 335 | |
| 336 | sendEmailVerification(actionCodeSettings?: ActionCodeSettings): Promise<void> { |
| 337 | return new Promise((resolve, reject) => { |
| 338 | if (!this.native) { |
| 339 | reject(); |
| 340 | } else { |
| 341 | if (actionCodeSettings) { |
| 342 | this.native.sendEmailVerificationWithActionCodeSettingsCompletion(actionCodeSettings.native, (error) => { |
| 343 | if (error) { |
| 344 | reject(FirebaseError.fromNative(error)); |
| 345 | } else { |
| 346 | resolve(); |
| 347 | } |
| 348 | }); |
| 349 | } else { |
| 350 | this.native.sendEmailVerificationWithCompletion((error) => { |
| 351 | if (error) { |
| 352 | reject(FirebaseError.fromNative(error)); |
| 353 | } else { |
| 354 | resolve(); |
| 355 | } |
| 356 | }); |
| 357 | } |
| 358 | } |
| 359 | }); |
| 360 | } |
| 361 | |
| 362 | unlink(providerId: string): Promise<IUser> { |
| 363 | return new Promise((resolve, reject) => { |
nothing calls this directly
no test coverage detected