@@ -218,10 +218,10 @@ export class EmailAuthCredential extends AuthCredential {
218
218
export class EmailAuthProvider implements AuthProvider {
219
219
static credential(email : string , password : string ): EmailAuthCredential ;
220
220
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 " ;
225
225
}
226
226
227
227
export { ErrorFn }
@@ -234,8 +234,8 @@ export class FacebookAuthProvider extends BaseOAuthProvider {
234
234
static credential(accessToken : string ): OAuthCredential ;
235
235
static credentialFromError(error : FirebaseError ): OAuthCredential | null ;
236
236
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 ' ;
239
239
}
240
240
241
241
// @public
@@ -270,8 +270,8 @@ export class GithubAuthProvider extends BaseOAuthProvider {
270
270
static credential(accessToken : string ): OAuthCredential ;
271
271
static credentialFromError(error : FirebaseError ): OAuthCredential | null ;
272
272
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 ' ;
275
275
}
276
276
277
277
// @public
@@ -280,8 +280,8 @@ export class GoogleAuthProvider extends BaseOAuthProvider {
280
280
static credential(idToken ? : string | null , accessToken ? : string | null ): OAuthCredential ;
281
281
static credentialFromError(error : FirebaseError ): OAuthCredential | null ;
282
282
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 ' ;
285
285
}
286
286
287
287
// @public
@@ -458,9 +458,9 @@ export class PhoneAuthProvider {
458
458
static credential(verificationId : string , verificationCode : string ): PhoneAuthCredential ;
459
459
static credentialFromError(error : FirebaseError ): AuthCredential | null ;
460
460
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 " ;
464
464
verifyPhoneNumber(phoneOptions : PhoneInfoOptions | string , applicationVerifier : ApplicationVerifier ): Promise <string >;
465
465
}
466
466
@@ -617,8 +617,8 @@ export class TwitterAuthProvider extends BaseOAuthProvider {
617
617
static credential(token : string , secret : string ): OAuthCredential ;
618
618
static credentialFromError(error : FirebaseError ): OAuthCredential | null ;
619
619
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 ' ;
622
622
}
623
623
624
624
// @public
0 commit comments