cachedResponse method

Future<TokenSourceResponse?> cachedResponse()

Get the cached credentials if one exists.

Implementation

Future<TokenSourceResponse?> cachedResponse() async {
  final cached = await _store.retrieve();
  return cached?.response;
}