1.18.0 (2024-09-19)
Features Added
- All credentials now implement the
SupportsTokenInfo
orAsyncSupportsTokenInfo
protocol. Each credential now has aget_token_info
method which returns anAccessTokenInfo
object. Theget_token_info
method is an alternative method toget_token
that improves support for more complex authentication scenarios. (#36882)- Information on when a token should be refreshed is now saved in
AccessTokenInfo
(if available).
- Information on when a token should be refreshed is now saved in
Other Changes
- Added identity config validation to
ManagedIdentityCredential
to avoid non-deterministic states (e.g. bothresource_id
andobject_id
are specified). (#36950) - Additional validation was added for
ManagedIdentityCredential
in Azure Cloud Shell environments. (#36438) - Bumped minimum dependency on
azure-core
to>=1.31.0
.