Skip to content

Helper methods #1

@nateabele

Description

@nateabele

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions