isAuthenticated method
Checks if the user is currently authenticated
Returns true if there are valid, non-expired tokens.
Implementation
bool isAuthenticated() {
return _currentTokens != null && _currentTokens!.isValid;
}
Checks if the user is currently authenticated
Returns true if there are valid, non-expired tokens.
bool isAuthenticated() {
return _currentTokens != null && _currentTokens!.isValid;
}