signInWithAuthProvider method

  1. @Deprecated('You should use signInWithProvider instead')
Future<UserCredential> signInWithAuthProvider(
  1. AuthProvider provider
)

Signs in with an AuthProvider using native authentication flow. This is deprecated in favor of signInWithProvider().

A FirebaseAuthException maybe thrown with the following error code:

  • user-disabled:
  • Thrown if the user corresponding to the given email has been disabled.

Implementation

@Deprecated('You should use signInWithProvider instead')
Future<UserCredential> signInWithAuthProvider(
  AuthProvider provider,
) async {
  return signInWithProvider(provider);
}