Skip to content

Add RFC 7235 challenge parsing and the Basic challenge handler #7

@OmarAlJarrah

Description

@OmarAlJarrah

Summary

The authentication credentials, token cache, and credential-stamping policies are implemented. The remaining part of the auth design is RFC 7235 challenge handling — responding to a server 401/407 with a WWW-Authenticate/Proxy-Authenticate challenge.

Scope

  • AuthenticationChallenge.Parse — parse WWW-Authenticate / Proxy-Authenticate headers (scheme + parameters + token68), supporting multiple challenges.
  • ChallengeHandler (abstract) + BasicChallengeHandler (RFC 7617) + CompositeChallengeHandler (selects a handler for a challenge set).
  • Wire BearerTokenAuthPolicy to re-acquire once on a 401 carrying a challenge.

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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