Implement httpAuth.status(): should return one of:
httpAuth.NONE: Initial value, before any auth has been attempted
httpAuth.WAITING: Failed requests have been queued, but no auth credentials have been supplied yet
httpAuth.PENDING: Credentials have been set, but we're still waiting to see if a previously-failed request has returned
httpAuth.SUCCEEDED: Authentication succeeded
httpAuth.FAILED: Authentication failed, credentials should be updated before retrying
Implement httpAuth.attempts(): should count the number of times authentication has been attempted
Implement
httpAuth.status(): should return one of:httpAuth.NONE: Initial value, before any auth has been attemptedhttpAuth.WAITING: Failed requests have been queued, but no auth credentials have been supplied yethttpAuth.PENDING: Credentials have been set, but we're still waiting to see if a previously-failed request has returnedhttpAuth.SUCCEEDED: Authentication succeededhttpAuth.FAILED: Authentication failed, credentials should be updated before retryingImplement
httpAuth.attempts(): should count the number of times authentication has been attempted