Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make MultiAuth public API. #94

Closed
wants to merge 1 commit into from

Conversation

rafalkrupinski
Copy link
Contributor

@rafalkrupinski rafalkrupinski commented May 20, 2024

httpx-auth supports combining auth flows, which is currently handled by implementing SupportsMultiAuth interface. But internally all it does it uses MultiAuth to combine all those Auth instances into one.

This PR exposes MultiAuth, so that any Auth implementation can be directly used as part of this mechanism, e.g. httpx.auth.Digest or any custom Auth classes implemented by users.

Copy link

sonarcloud bot commented May 20, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Colin-b
Copy link
Owner

Colin-b commented Sep 28, 2024

hello, we advocate for a single way to create new multi auth. meaning using already exposed SupportMultiAuth as in https://github.com/Colin-b/httpx_auth?tab=readme-ov-file#multiple-authentication-at-once

current implementation is using multiauth class but we would like to keep it internal to change this if needed in the future

@Colin-b Colin-b closed this Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants