shouldRefreshToken method

Future<bool> shouldRefreshToken()

Check if the users auth token should be refreshed. This method is called before every request. You can override this method to perform your own checks.

Implementation

Future<bool> shouldRefreshToken() async {
  return false;
}