@@ -218,10 +218,10 @@ export class EmailAuthCredential extends AuthCredential {
218218export class EmailAuthProvider implements AuthProvider {
219219 static credential(email : string , password : string ): EmailAuthCredential ;
220220 static credentialWithLink(email : string , emailLink : string ): EmailAuthCredential ;
221- static readonly EMAIL_LINK_SIGN_IN_METHOD = SignInMethod . EMAIL_LINK ;
222- static readonly EMAIL_PASSWORD_SIGN_IN_METHOD = SignInMethod . EMAIL_PASSWORD ;
223- static readonly PROVIDER_ID = ProviderId . PASSWORD ;
224- readonly providerId = ProviderId . PASSWORD ;
221+ static readonly EMAIL_LINK_SIGN_IN_METHOD: ' emailLink ' ;
222+ static readonly EMAIL_PASSWORD_SIGN_IN_METHOD: ' password ' ;
223+ static readonly PROVIDER_ID: ' password ' ;
224+ readonly providerId: " password " ;
225225}
226226
227227export { ErrorFn }
@@ -234,8 +234,8 @@ export class FacebookAuthProvider extends BaseOAuthProvider {
234234 static credential(accessToken : string ): OAuthCredential ;
235235 static credentialFromError(error : FirebaseError ): OAuthCredential | null ;
236236 static credentialFromResult(userCredential : UserCredential ): OAuthCredential | null ;
237- static readonly FACEBOOK_SIGN_IN_METHOD = SignInMethod . FACEBOOK ;
238- static readonly PROVIDER_ID = ProviderId . FACEBOOK ;
237+ static readonly FACEBOOK_SIGN_IN_METHOD: ' facebook.com ' ;
238+ static readonly PROVIDER_ID: ' facebook.com ' ;
239239}
240240
241241// @public
@@ -270,8 +270,8 @@ export class GithubAuthProvider extends BaseOAuthProvider {
270270 static credential(accessToken : string ): OAuthCredential ;
271271 static credentialFromError(error : FirebaseError ): OAuthCredential | null ;
272272 static credentialFromResult(userCredential : UserCredential ): OAuthCredential | null ;
273- static readonly GITHUB_SIGN_IN_METHOD = SignInMethod . GITHUB ;
274- static readonly PROVIDER_ID = ProviderId . GITHUB ;
273+ static readonly GITHUB_SIGN_IN_METHOD: ' github.com ' ;
274+ static readonly PROVIDER_ID: ' github.com ' ;
275275}
276276
277277// @public
@@ -280,8 +280,8 @@ export class GoogleAuthProvider extends BaseOAuthProvider {
280280 static credential(idToken ? : string | null , accessToken ? : string | null ): OAuthCredential ;
281281 static credentialFromError(error : FirebaseError ): OAuthCredential | null ;
282282 static credentialFromResult(userCredential : UserCredential ): OAuthCredential | null ;
283- static readonly GOOGLE_SIGN_IN_METHOD = SignInMethod . GOOGLE ;
284- static readonly PROVIDER_ID = ProviderId . GOOGLE ;
283+ static readonly GOOGLE_SIGN_IN_METHOD: ' google.com ' ;
284+ static readonly PROVIDER_ID: ' google.com ' ;
285285}
286286
287287// @public
@@ -458,9 +458,9 @@ export class PhoneAuthProvider {
458458 static credential(verificationId : string , verificationCode : string ): PhoneAuthCredential ;
459459 static credentialFromError(error : FirebaseError ): AuthCredential | null ;
460460 static credentialFromResult(userCredential : UserCredential ): AuthCredential | null ;
461- static readonly PHONE_SIGN_IN_METHOD = SignInMethod . PHONE ;
462- static readonly PROVIDER_ID = ProviderId . PHONE ;
463- readonly providerId = ProviderId . PHONE ;
461+ static readonly PHONE_SIGN_IN_METHOD: ' phone ' ;
462+ static readonly PROVIDER_ID: ' phone ' ;
463+ readonly providerId: " phone " ;
464464 verifyPhoneNumber(phoneOptions : PhoneInfoOptions | string , applicationVerifier : ApplicationVerifier ): Promise <string >;
465465}
466466
@@ -617,8 +617,8 @@ export class TwitterAuthProvider extends BaseOAuthProvider {
617617 static credential(token : string , secret : string ): OAuthCredential ;
618618 static credentialFromError(error : FirebaseError ): OAuthCredential | null ;
619619 static credentialFromResult(userCredential : UserCredential ): OAuthCredential | null ;
620- static readonly PROVIDER_ID = ProviderId . TWITTER ;
621- static readonly TWITTER_SIGN_IN_METHOD = SignInMethod . TWITTER ;
620+ static readonly PROVIDER_ID: ' twitter.com ' ;
621+ static readonly TWITTER_SIGN_IN_METHOD: ' twitter.com ' ;
622622}
623623
624624// @public
0 commit comments