refreshTokens abstract method

  1. @override
Future<void> refreshTokens()

refresh and store tokens.

either throw DioException on errors related to rest. it could be a network problem. or throw AuthRepositoryException if there is no token, or after the refresh call token is found to be invalid and be removed.

it can throw AuthStorageException on non-recoverable storage errors.

Implementation

@override
Future<void> refreshTokens();