autoChangeAuthorizationToBearerToken method

HttpClient autoChangeAuthorizationToBearerToken(
  1. String responseHeaderWithToken
)

If set, will automatically use a token in the header responseHeaderWithToken, when found in any request.

Implementation

HttpClient autoChangeAuthorizationToBearerToken(
    String responseHeaderWithToken) {
  _responseHeaderWithToken = responseHeaderWithToken;
  return this;
}