resolveCredential abstract method

Future<Credential?> resolveCredential(
  1. HttpClient client,
  2. HttpError? lastError
)

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);