signInWithPopup method

Future<UserCredential> signInWithPopup(
  1. AuthProvider<AuthProviderJsImpl> provider
)

Signs in using a popup-based OAuth authentication flow with the given provider. Returns UserCredential if successful, or an error object if unsuccessful.

Implementation

Future<UserCredential> signInWithPopup(AuthProvider provider) =>
    handleThenable(jsObject.signInWithPopup(provider.jsObject))
        .then((u) => UserCredential.fromJsObject(u));