setTokenResolver method
Wire in a token resolver so requiresAuth: true requests can
trigger token refresh without this adapter importing the auth
bridge directly.
Implementation
void setTokenResolver(
Future<String?> Function({required bool requiresAuth}) resolver,
) {
_tokenResolver = resolver;
}