linkWithPopup method

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

Links the authenticated provider to the user account using a pop-up based OAuth flow. It returns the UserCredential information if linking is successful.

Implementation

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