Is your feature request related to a problem? Please describe.
AAZ currently still uses the old get_token protocol:
|
self._token = self._credential.get_token(*self._scopes) |
Describe the solution you'd like
AAZ should use the new get_token_info protocol.
Describe alternatives you've considered
Use Azure CLI's internal acquire_token protocol (#29955) to decouple from Azure SDK.
Additional context
Is your feature request related to a problem? Please describe.
AAZ currently still uses the old
get_tokenprotocol:azure-cli/src/azure-cli-core/azure/cli/core/aaz/_http_policy.py
Line 80 in 4826c98
Describe the solution you'd like
AAZ should use the new
get_token_infoprotocol.Describe alternatives you've considered
Use Azure CLI's internal
acquire_tokenprotocol (#29955) to decouple from Azure SDK.Additional context
get_token_infoprotocol #29967get_tokenprotocol #29955