MikeWooster/api-client

Extend HeaderAuthentication

loju opened this issue · 5 comments

loju commented

Some APis require more than one pair in header for authentication.
Would be nice, to provide more than one pair key value, eg: get them from dict.

That's a fantastic idea. feel free to create a pull request for it. My only requirement is that we don't break backwards compatibility with the existing implementation.

loju commented

Cool, one obstacle - I have no access to create dev branch.

I made a quick fix to this. take a look at the rc version for 1.2.
https://pypi.org/project/api-client/1.2.0rc1/

I have released v1.2.0. Hopefully this is flexible enough for your requirements.