signInWithCredential method
Signs the user in with the provided AuthCredential
.
Implementation
void signInWithCredential(K credential) {
authListener.onBeforeSignIn();
auth
.signInWithCredential(credential)
.then(authListener.onSignedIn)
.catchError(authListener.onError);
}