@@ -88,13 +88,13 @@ export interface Auth {
8888 readonly config: Config ;
8989 readonly currentUser: User | null ;
9090 readonly emulatorConfig: EmulatorConfig | null ;
91- readonly firebaseToken: FirebaseToken | null ;
9291 languageCode: string | null ;
9392 readonly name: string ;
9493 onAuthStateChanged(nextOrObserver : NextOrObserver <User | null >, error ? : ErrorFn , completed ? : CompleteFn ): Unsubscribe ;
9594 onIdTokenChanged(nextOrObserver : NextOrObserver <User | null >, error ? : ErrorFn , completed ? : CompleteFn ): Unsubscribe ;
9695 setPersistence(persistence : Persistence ): Promise <void >;
9796 readonly settings: AuthSettings ;
97+ setTokenRefreshHandler(tokenRefreshHandler : TokenRefreshHandler ): void ;
9898 signOut(): Promise <void >;
9999 readonly tenantConfig? : TenantConfig ;
100100 tenantId: string | null ;
@@ -389,14 +389,6 @@ export const FactorId: {
389389// @public
390390export function fetchSignInMethodsForEmail(auth : Auth , email : string ): Promise <string []>;
391391
392- // @public (undocumented)
393- export interface FirebaseToken {
394- // (undocumented)
395- readonly expirationTime: number ;
396- // (undocumented)
397- readonly token: string ;
398- }
399-
400392// @public
401393export function getAdditionalUserInfo(userCredential : UserCredential ): AdditionalUserInfo | null ;
402394
@@ -743,6 +735,12 @@ export class RecaptchaVerifier implements ApplicationVerifierInternal {
743735 verify(): Promise <string >;
744736 }
745737
738+ // @public
739+ export interface RefreshIdpTokenResult {
740+ idpConfigId: string ;
741+ idToken: string ;
742+ }
743+
746744// @public
747745export function reload(user : User ): Promise <void >;
748746
@@ -815,6 +813,11 @@ export interface TenantConfig {
815813 tenantId: string ;
816814}
817815
816+ // @public
817+ export interface TokenRefreshHandler {
818+ refreshIdpToken(): Promise <RefreshIdpTokenResult >;
819+ }
820+
818821// @public
819822export interface TotpMultiFactorAssertion extends MultiFactorAssertion {
820823}
0 commit comments