File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
packages-exp/auth-compat-exp/src Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,11 @@ export class Auth
75
75
) ;
76
76
}
77
77
78
+ get emulatorConfig ( ) : compat . EmulatorConfig | null {
79
+ // TODO
80
+ return null ;
81
+ }
82
+
78
83
get currentUser ( ) : compat . User | null {
79
84
if ( ! this . auth . currentUser ) {
80
85
return null ;
Original file line number Diff line number Diff line change @@ -389,6 +389,15 @@ export class PhoneMultiFactorGenerator {
389
389
) : PhoneMultiFactorAssertion ;
390
390
}
391
391
392
+ export interface EmulatorConfig {
393
+ protocol : string ;
394
+ host : string ;
395
+ port : number | null ;
396
+ options : {
397
+ disableWarnings : boolean ;
398
+ } ;
399
+ }
400
+
392
401
export class FirebaseAuth {
393
402
private constructor ( ) ;
394
403
@@ -407,6 +416,7 @@ export class FirebaseAuth {
407
416
password : string
408
417
) : Promise < UserCredential > ;
409
418
currentUser : User | null ;
419
+ readonly emulatorConfig : EmulatorConfig | null ;
410
420
fetchSignInMethodsForEmail ( email : string ) : Promise < Array < string > > ;
411
421
isSignInWithEmailLink ( emailLink : string ) : boolean ;
412
422
getRedirectResult ( ) : Promise < UserCredential > ;
@@ -455,6 +465,7 @@ export class FirebaseAuth {
455
465
tenantId : string | null ;
456
466
updateCurrentUser ( user : User | null ) : Promise < void > ;
457
467
useDeviceLanguage ( ) : void ;
468
+ useEmulator ( url : string , options ?: { disableWarnings ?: boolean } ) : void ;
458
469
verifyPasswordResetCode ( code : string ) : Promise < string > ;
459
470
}
460
471
You can’t perform that action at this time.
0 commit comments