signInWithStoredCredentials method

  1. @override
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

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