v0.12.0
版本发布时间: 2021-11-02 01:05:44
Colin-b/httpx_auth最新发布版本:v0.22.0(2024-03-02 20:10:03)
Changed
- Requires
httpx
==0.20.* -
OAuth2ResourceOwnerPasswordCredentials.client
attribute is now set to None in case it was not provided as parameter. -
OAuth2ClientCredentials.client
attribute is now set to None in case it was not provided as parameter. -
OktaClientCredentials.client
attribute is now set to None in case it was not provided as parameter. -
OAuth2AuthorizationCode.client
attribute is now set to None in case it was not provided as parameter. -
OktaAuthorizationCode.client
attribute is now set to None in case it was not provided as parameter. -
OAuth2AuthorizationCodePKCE.client
attribute is now set to None in case it was not provided as parameter. -
OktaAuthorizationCodePKCE.client
attribute is now set to None in case it was not provided as parameter. -
httpx.Client
provided asclient
parameter toOAuth2ResourceOwnerPasswordCredentials
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued. -
httpx.Client
provided asclient
parameter toOAuth2ClientCredentials
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued. -
httpx.Client
provided asclient
parameter toOktaClientCredentials
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued. -
httpx.Client
provided asclient
parameter toOAuth2AuthorizationCode
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued. -
httpx.Client
provided asclient
parameter toOktaAuthorizationCode
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued. -
httpx.Client
provided asclient
parameter toOAuth2AuthorizationCodePKCE
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued. -
httpx.Client
provided asclient
parameter toOktaAuthorizationCodePKCE
is not closed anymore. You are now responsible for closing it when no more requests are expected to be issued.
Fixed
- A new client is created (if not provided as
client
parameter) upon request of a new token forOAuth2ResourceOwnerPasswordCredentials
flow. Re-using previously closed client was raising an issue upon token expiry. - A new client is created (if not provided as
client
parameter) upon request of a new token forOAuth2ClientCredentials
flow. Re-using previously closed client was raising an issue upon token expiry. - A new client is created (if not provided as
client
parameter) upon request of a new token forOktaClientCredentials
flow. Re-using previously closed client was raising an issue upon token expiry. - A new client is created (if not provided as
client
parameter) upon request of a new token forOAuth2AuthorizationCode
flow. Re-using previously closed client was raising an issue upon token expiry. - A new client is created (if not provided as
client
parameter) upon request of a new token forOktaAuthorizationCode
flow. Re-using previously closed client was raising an issue upon token expiry. - A new client is created (if not provided as
client
parameter) upon request of a new token forOAuth2AuthorizationCodePKCE
flow. Re-using previously closed client was raising an issue upon token expiry. - A new client is created (if not provided as
client
parameter) upon request of a new token forOktaAuthorizationCodePKCE
flow. Re-using previously closed client was raising an issue upon token expiry.