signInWithCredential method

void signInWithCredential(
  1. K credential
)

Signs the user in with the provided AuthCredential.

Implementation

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