refreshToken method

Future<AuthToken> refreshToken(
  1. AuthToken token
)

In case a token can become obsolete, implement this method.

Implementation

Future<AuthToken> refreshToken(AuthToken token) async {
  throw AuthException("Tokens cannot be refreshed");
}