This repository is for active development of the Azure SDK for C++. For consumers of the SDK we recommend visiting our versioned developer docs at https://azure.github.io/azure-sdk-for-cpp.
MIT License
179
stars
128
forks
source link
Entra access token authentication policies such as `BearerTokenAuthenticationPolicy` should respect `refresh_on` information #5598
Long lived credentials such as those received from managed identity authentication include additional metadata concerning when a token can/should be refreshed. Our authentication policies should take this information into account when refreshing access tokens.
This involves:
Modifying relevant authentication policies
Modifying the AccessToken type to include this optional information
Modifying Azure.Identity credential implementations to populate the refresh_on information in the AccessToken
Long lived credentials such as those received from managed identity authentication include additional metadata concerning when a token can/should be refreshed. Our authentication policies should take this information into account when refreshing access tokens.
This involves:
AccessToken
type to include this optional informationAccessToken