resolveCredential abstract method
Resolves the actual Credential
for the HttpRequest.
This method should cache the last resolved Credential
and avoid unnecessary resolving procedures.
Implementation
Future<Credential?> resolveCredential(
HttpClient client, HttpError? lastError);