isAuthenticated method

bool isAuthenticated()

Checks if the user is currently authenticated

Returns true if there are valid, non-expired tokens.

Implementation

bool isAuthenticated() {
  return _currentTokens != null && _currentTokens!.isValid;
}