v0.4.0
版本发布时间: 2020-08-08 01:10:34
Colin-b/httpx_auth最新发布版本:v0.22.0(2024-03-02 20:10:03)
Changed
- Mock an access token by default in
httpx_auth.testing.token_cache_mock
. Getting rid ofpyjwt
default dependency for testing. - Requires
httpx
==0.14.*
Added
- Still under development, subject to breaking changes without notice:
AWS4Auth
authentication class for AWS. Ported fromrequests-aws4auth
byMichael E. Martinka
. Note that a few changes were made:- deprecated
amz_date
attribute has been removed. - it is not possible to provide an
AWSSigningKey
instance, use explicit parameters instead. - it is not possible to provide a
date
. It will default to now. - it is not possible to provide
raise_invalid_date
parameter anymore as the date will always be valid. -
include_hdrs
parameter was renamed intoinclude_headers
-
host
is not considered as a specific Amazon service anymore (no test specific code). - Each request now has it's own signing key and x-amz-date. Meaning you can use the same auth instance for more than one request.
-
session_token
was renamed intosecurity_token
for consistency with the underlying name at Amazon.
- deprecated