httpx_auth icon indicating copy to clipboard operation
httpx_auth copied to clipboard

Make MultiAuth public API.

Open rafalkrupinski opened this issue 1 year ago • 1 comments

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.

rafalkrupinski avatar May 20 '24 12:05 rafalkrupinski

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 avatar Sep 28 '24 15:09 Colin-b