isValid property

bool isValid

A flag representing whether or not this authenticator instance is valid.

Returns false if the authentication flow has not yet been completed, if revoke has been called, or the access token has expired.

Implementation

bool get isValid {
  return !(credentials.isExpired);
}