signInWithCredential method

void signInWithCredential(
  1. OAuthCredential credential
)
inherited

Signs the user in with the provided AuthCredential.

Implementation

void signInWithCredential(K credential) {
  authListener.onBeforeSignIn();
  auth
      .signInWithCredential(credential)
      .then(authListener.onSignedIn)
      .catchError(authListener.onError);
}