signInWithStoredCredentials method

Future<AuthResponse> signInWithStoredCredentials()

Attempts a sign in using the credentials stored in the AuthStore provided during construction.

Throws an NhostException if sign in fails.

Implementation

Future<AuthResponse> signInWithStoredCredentials() async {
  log.finer('Attempting sign in (stored credentials)');
  return AuthResponse(session: await _refreshSession());
}