@@ -48,25 +48,16 @@ export interface ActionCodeSettings {
48
48
url: string ;
49
49
}
50
50
51
- // Warning: (ae-forgotten-export) The symbol "ActionCodeURL" needs to be exported by the entry point index.d.ts
52
- //
53
- // @public (undocumented)
54
- export class ActionCodeURL implements ActionCodeURL_2 {
51
+ // @public
52
+ export class ActionCodeURL {
55
53
// @internal
56
54
constructor (actionLink : string );
57
- // (undocumented)
58
55
readonly apiKey: string ;
59
- // (undocumented)
60
56
readonly code: string ;
61
- // (undocumented)
62
57
readonly continueUrl: string | null ;
63
- // (undocumented)
64
58
readonly languageCode: string | null ;
65
- // (undocumented)
66
59
readonly operation: ActionCodeOperation ;
67
- // (undocumented)
68
60
static parseLink(link : string ): ActionCodeURL | null ;
69
- // (undocumented)
70
61
readonly tenantId: string | null ;
71
62
}
72
63
@@ -106,10 +97,12 @@ export interface Auth {
106
97
useDeviceLanguage(): void ;
107
98
}
108
99
109
- // @public (undocumented)
100
+ // @public
110
101
export class AuthCredential {
111
102
// @internal
112
- protected constructor (providerId : string , signInMethod : string );
103
+ protected constructor (
104
+ providerId : string ,
105
+ signInMethod : string );
113
106
// Warning: (ae-forgotten-export) The symbol "AuthInternal" needs to be exported by the entry point index.d.ts
114
107
// Warning: (ae-forgotten-export) The symbol "PhoneOrOauthTokenResponse" needs to be exported by the entry point index.d.ts
115
108
//
@@ -121,11 +114,8 @@ export class AuthCredential {
121
114
//
122
115
// @internal (undocumented)
123
116
_linkToIdToken(_auth : AuthInternal , _idToken : string ): Promise <IdTokenResponse >;
124
- // (undocumented)
125
117
readonly providerId: string ;
126
- // (undocumented)
127
118
readonly signInMethod: string ;
128
- // (undocumented)
129
119
toJSON(): object ;
130
120
}
131
121
@@ -194,17 +184,14 @@ export const debugErrorMap: AuthErrorMap;
194
184
// @public
195
185
export function deleteUser(user : User ): Promise <void >;
196
186
197
- // Warning: (ae-forgotten-export) The symbol "AuthCredential" needs to be exported by the entry point index.d.ts
198
- //
199
187
// @public
200
- export class EmailAuthCredential extends AuthCredential implements AuthCredential_2 {
188
+ export class EmailAuthCredential extends AuthCredential {
201
189
// (undocumented)
202
190
readonly email: string ;
203
191
// @internal (undocumented)
204
192
static _fromEmailAndCode(email : string , oobCode : string , tenantId ? : string | null ): EmailAuthCredential ;
205
193
// @internal (undocumented)
206
194
static _fromEmailAndPassword(email : string , password : string ): EmailAuthCredential ;
207
- // (undocumented)
208
195
static fromJSON(json : object | string ): EmailAuthCredential | null ;
209
196
// @internal (undocumented)
210
197
_getIdTokenResponse(auth : AuthInternal ): Promise <IdTokenResponse >;
@@ -216,35 +203,25 @@ export class EmailAuthCredential extends AuthCredential implements AuthCredentia
216
203
readonly password: string ;
217
204
// (undocumented)
218
205
readonly tenantId: string | null ;
219
- // (undocumented)
220
206
toJSON(): object ;
221
207
}
222
208
223
- // Warning: (ae-forgotten-export) The symbol "EmailAuthProvider" needs to be exported by the entry point index.d.ts
224
- //
225
- // @public (undocumented)
226
- export class EmailAuthProvider implements EmailAuthProvider_2 {
227
- // (undocumented)
209
+ // @public
210
+ export class EmailAuthProvider implements AuthProvider {
228
211
static credential(email : string , password : string ): EmailAuthCredential ;
229
- // (undocumented)
230
212
static credentialWithLink(email : string , emailLink : string ): EmailAuthCredential ;
231
- // (undocumented)
232
213
static readonly EMAIL_LINK_SIGN_IN_METHOD = SignInMethod .EMAIL_LINK ;
233
- // (undocumented)
234
214
static readonly EMAIL_PASSWORD_SIGN_IN_METHOD = SignInMethod .EMAIL_PASSWORD ;
235
- // (undocumented)
236
215
static readonly PROVIDER_ID = ProviderId .PASSWORD ;
237
- // (undocumented)
238
216
readonly providerId = ProviderId .PASSWORD ;
239
217
}
240
218
241
219
// @public
242
220
export class FacebookAuthProvider extends OAuthProvider {
243
221
constructor ();
244
- // Warning: (ae-forgotten-export) The symbol "OAuthCredential" needs to be exported by the entry point index.d.ts
245
- static credential(accessToken : string ): OAuthCredential_2 ;
246
- static credentialFromError(error : FirebaseError ): OAuthCredential_2 | null ;
247
- static credentialFromResult(userCredential : UserCredential ): OAuthCredential_2 | null ;
222
+ static credential(accessToken : string ): OAuthCredential ;
223
+ static credentialFromError(error : FirebaseError ): OAuthCredential | null ;
224
+ static credentialFromResult(userCredential : UserCredential ): OAuthCredential | null ;
248
225
static readonly FACEBOOK_SIGN_IN_METHOD = SignInMethod .FACEBOOK ;
249
226
static readonly PROVIDER_ID = ProviderId .FACEBOOK ;
250
227
}
@@ -280,19 +257,19 @@ export function getRedirectResult(auth: Auth, resolver?: PopupRedirectResolver):
280
257
// @public
281
258
export class GithubAuthProvider extends OAuthProvider {
282
259
constructor ();
283
- static credential(accessToken : string ): OAuthCredential_2 ;
284
- static credentialFromError(error : FirebaseError ): OAuthCredential_2 | null ;
285
- static credentialFromResult(userCredential : UserCredential ): OAuthCredential_2 | null ;
260
+ static credential(accessToken : string ): OAuthCredential ;
261
+ static credentialFromError(error : FirebaseError ): OAuthCredential | null ;
262
+ static credentialFromResult(userCredential : UserCredential ): OAuthCredential | null ;
286
263
static readonly GITHUB_SIGN_IN_METHOD = SignInMethod .GITHUB ;
287
264
static readonly PROVIDER_ID = ProviderId .GITHUB ;
288
265
}
289
266
290
267
// @public
291
268
export class GoogleAuthProvider extends OAuthProvider {
292
269
constructor ();
293
- static credential(idToken ? : string | null , accessToken ? : string | null ): OAuthCredential_2 ;
294
- static credentialFromError(error : FirebaseError ): OAuthCredential_2 | null ;
295
- static credentialFromResult(userCredential : UserCredential ): OAuthCredential_2 | null ;
270
+ static credential(idToken ? : string | null , accessToken ? : string | null ): OAuthCredential ;
271
+ static credentialFromError(error : FirebaseError ): OAuthCredential | null ;
272
+ static credentialFromResult(userCredential : UserCredential ): OAuthCredential | null ;
296
273
static readonly GOOGLE_SIGN_IN_METHOD = SignInMethod .GOOGLE ;
297
274
static readonly PROVIDER_ID = ProviderId .GOOGLE ;
298
275
}
@@ -323,7 +300,7 @@ export const inMemoryPersistence: Persistence;
323
300
export function isSignInWithEmailLink(auth : Auth , emailLink : string ): boolean ;
324
301
325
302
// @public
326
- export function linkWithCredential(user : User , credential : AuthCredential_2 ): Promise <UserCredential >;
303
+ export function linkWithCredential(user : User , credential : AuthCredential ): Promise <UserCredential >;
327
304
328
305
// @public
329
306
export function linkWithPhoneNumber(user : User , phoneNumber : string , appVerifier : ApplicationVerifier ): Promise <ConfirmationResult >;
@@ -374,11 +351,9 @@ export interface MultiFactorUser {
374
351
unenroll(option : MultiFactorInfo | string ): Promise <void >;
375
352
}
376
353
377
- // @public (undocumented)
378
- export class OAuthCredential extends AuthCredential implements OAuthCredential_2 {
379
- // (undocumented)
354
+ // @public
355
+ export class OAuthCredential extends AuthCredential {
380
356
accessToken? : string ;
381
- // (undocumented)
382
357
static fromJSON(json : string | object ): OAuthCredential | null ;
383
358
// Warning: (ae-forgotten-export) The symbol "OAuthCredentialParams" needs to be exported by the entry point index.d.ts
384
359
//
@@ -388,15 +363,12 @@ export class OAuthCredential extends AuthCredential implements OAuthCredential_2
388
363
_getIdTokenResponse(auth : AuthInternal ): Promise <IdTokenResponse >;
389
364
// @internal (undocumented)
390
365
_getReauthenticationResolver(auth : AuthInternal ): Promise <IdTokenResponse >;
391
- // (undocumented)
392
366
idToken? : string ;
393
367
// @internal (undocumented)
394
368
_linkToIdToken(auth : AuthInternal , idToken : string ): Promise <IdTokenResponse >;
395
369
// @internal (undocumented)
396
370
nonce? : string ;
397
- // (undocumented)
398
371
secret? : string ;
399
- // (undocumented)
400
372
toJSON(): object ;
401
373
}
402
374
@@ -411,11 +383,11 @@ export interface OAuthCredentialOptions {
411
383
export class OAuthProvider implements AuthProvider {
412
384
constructor (providerId : string );
413
385
addScope(scope : string ): AuthProvider ;
414
- credential(params : OAuthCredentialOptions ): OAuthCredential_2 ;
415
- static credentialFromError(error : FirebaseError ): OAuthCredential_2 | null ;
386
+ credential(params : OAuthCredentialOptions ): OAuthCredential ;
387
+ static credentialFromError(error : FirebaseError ): OAuthCredential | null ;
416
388
// (undocumented)
417
- static credentialFromJSON(json : object | string ): OAuthCredential_2 ;
418
- static credentialFromResult(userCredential : UserCredential ): OAuthCredential_2 | null ;
389
+ static credentialFromJSON(json : object | string ): OAuthCredential ;
390
+ static credentialFromResult(userCredential : UserCredential ): OAuthCredential | null ;
419
391
// @internal (undocumented)
420
392
defaultLanguageCode: string | null ;
421
393
getCustomParameters(): CustomParameters ;
@@ -460,10 +432,10 @@ export interface Persistence {
460
432
readonly type: ' SESSION' | ' LOCAL' | ' NONE' ;
461
433
}
462
434
463
- // Warning: (ae-forgotten-export) The symbol "PhoneAuthCredential" needs to be exported by the entry point index.d.ts
464
- //
465
- // @public (undocumented)
466
- export class PhoneAuthCredential extends AuthCredential implements PhoneAuthCredential_2 {
435
+ // @public
436
+ export class PhoneAuthCredential extends AuthCredential {
437
+ // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: No member was found with name "fromJSON"
438
+ //
467
439
// (undocumented)
468
440
static fromJSON(json : object | string ): PhoneAuthCredential | null ;
469
441
// @internal (undocumented)
@@ -480,26 +452,18 @@ export class PhoneAuthCredential extends AuthCredential implements PhoneAuthCred
480
452
//
481
453
// @internal (undocumented)
482
454
_makeVerificationRequest(): SignInWithPhoneNumberRequest ;
483
- // (undocumented)
484
455
toJSON(): object ;
485
456
}
486
457
487
- // Warning: (ae-forgotten-export) The symbol "PhoneAuthProvider" needs to be exported by the entry point index.d.ts
488
- //
489
- // @public (undocumented)
490
- export class PhoneAuthProvider implements PhoneAuthProvider_2 {
458
+ // @public
459
+ export class PhoneAuthProvider {
491
460
constructor (auth : Auth );
492
- // (undocumented)
493
461
static credential(verificationId : string , verificationCode : string ): PhoneAuthCredential ;
494
462
// (undocumented)
495
- static credentialFromResult(userCredential : UserCredential ): AuthCredential_2 | null ;
496
- // (undocumented)
463
+ static credentialFromResult(userCredential : UserCredential ): AuthCredential | null ;
497
464
static readonly PHONE_SIGN_IN_METHOD = SignInMethod .PHONE ;
498
- // (undocumented)
499
465
static readonly PROVIDER_ID = ProviderId .PHONE ;
500
- // (undocumented)
501
466
readonly providerId = ProviderId .PHONE ;
502
- // (undocumented)
503
467
verifyPhoneNumber(phoneOptions : PhoneInfoOptions | string , applicationVerifier : ApplicationVerifier ): Promise <string >;
504
468
}
505
469
@@ -516,12 +480,9 @@ export interface PhoneMultiFactorEnrollInfoOptions {
516
480
session: MultiFactorSession ;
517
481
}
518
482
519
- // Warning: (ae-forgotten-export) The symbol "PhoneMultiFactorGenerator" needs to be exported by the entry point index.d.ts
520
- //
521
- // @public (undocumented)
522
- export class PhoneMultiFactorGenerator implements PhoneMultiFactorGenerator_2 {
523
- // (undocumented)
524
- static assertion(credential : PhoneAuthCredential_2 ): PhoneMultiFactorAssertion ;
483
+ // @public
484
+ export class PhoneMultiFactorGenerator {
485
+ static assertion(credential : PhoneAuthCredential ): PhoneMultiFactorAssertion ;
525
486
}
526
487
527
488
// @public
@@ -573,7 +534,7 @@ export interface ReactNativeAsyncStorage {
573
534
}
574
535
575
536
// @public
576
- export function reauthenticateWithCredential(user : User , credential : AuthCredential_2 ): Promise <UserCredential >;
537
+ export function reauthenticateWithCredential(user : User , credential : AuthCredential ): Promise <UserCredential >;
577
538
578
539
// @public
579
540
export function reauthenticateWithPhoneNumber(user : User , phoneNumber : string , appVerifier : ApplicationVerifier ): Promise <ConfirmationResult >;
@@ -584,26 +545,21 @@ export function reauthenticateWithPopup(user: User, provider: AuthProvider, reso
584
545
// @public
585
546
export function reauthenticateWithRedirect(user : User , provider : AuthProvider , resolver ? : PopupRedirectResolver ): Promise <never >;
586
547
587
- // Warning: (ae-forgotten-export) The symbol "RecaptchaVerifier" needs to be exported by the entry point index.d.ts
588
548
// Warning: (ae-forgotten-export) The symbol "ApplicationVerifierInternal" needs to be exported by the entry point index.d.ts
589
549
//
590
- // @public (undocumented)
591
- export class RecaptchaVerifier implements RecaptchaVerifier_2 , ApplicationVerifierInternal {
550
+ // @public
551
+ export class RecaptchaVerifier implements ApplicationVerifierInternal {
592
552
// Warning: (ae-forgotten-export) The symbol "Parameters" needs to be exported by the entry point index.d.ts
593
553
constructor (containerOrId : HTMLElement | string , parameters : Parameters_2 , authExtern : Auth );
594
- // (undocumented)
595
554
clear(): void ;
596
555
// Warning: (ae-forgotten-export) The symbol "ReCaptchaLoader" needs to be exported by the entry point index.d.ts
597
556
//
598
557
// @internal (undocumented)
599
558
readonly _recaptchaLoader: ReCaptchaLoader ;
600
- // (undocumented)
601
559
render(): Promise <number >;
602
560
// @internal (undocumented)
603
561
_reset(): void ;
604
- // (undocumented)
605
562
readonly type = " recaptcha" ;
606
- // (undocumented)
607
563
verify(): Promise <string >;
608
564
}
609
565
@@ -646,7 +602,7 @@ export const enum SignInMethod {
646
602
}
647
603
648
604
// @public
649
- export function signInWithCredential(auth : Auth , credential : AuthCredential_2 ): Promise <UserCredential >;
605
+ export function signInWithCredential(auth : Auth , credential : AuthCredential ): Promise <UserCredential >;
650
606
651
607
// @public
652
608
export function signInWithCustomToken(auth : Auth , customToken : string ): Promise <UserCredential >;
@@ -672,9 +628,9 @@ export function signOut(auth: Auth): Promise<void>;
672
628
// @public
673
629
export class TwitterAuthProvider extends OAuthProvider {
674
630
constructor ();
675
- static credential(token : string , secret : string ): OAuthCredential_2 ;
676
- static credentialFromError(error : FirebaseError ): OAuthCredential_2 | null ;
677
- static credentialFromResult(userCredential : UserCredential ): OAuthCredential_2 | null ;
631
+ static credential(token : string , secret : string ): OAuthCredential ;
632
+ static credentialFromError(error : FirebaseError ): OAuthCredential | null ;
633
+ static credentialFromResult(userCredential : UserCredential ): OAuthCredential | null ;
678
634
// (undocumented)
679
635
static readonly PROVIDER_ID = ProviderId .TWITTER ;
680
636
// (undocumented)
@@ -694,7 +650,7 @@ export function updateEmail(user: User, newEmail: string): Promise<void>;
694
650
export function updatePassword(user : User , newPassword : string ): Promise <void >;
695
651
696
652
// @public
697
- export function updatePhoneNumber(user : User , credential : PhoneAuthCredential_2 ): Promise <void >;
653
+ export function updatePhoneNumber(user : User , credential : PhoneAuthCredential ): Promise <void >;
698
654
699
655
// Warning: (ae-forgotten-export) The symbol "Profile" needs to be exported by the entry point index.d.ts
700
656
//
0 commit comments