azure-sdk-for-net
azure-sdk-for-net copied to clipboard
[Key Vault] Add CAE support
Resolves: https://github.com/Azure/azure-sdk-for-net-pr/issues/2132, based on https://github.com/Azure/azure-sdk-for-java/pull/41814.
This PR introduces support for Continuous Access Evaluation (CAE) by updating the ChallengeBasedAuthenticationPolicy class. CAE is always enabled.
After an offline discussion with @chlowell, I realized that claims should not be cached. As a result:
ChallengeParametersdoes not need any additional properties.- The
AuthorizeRequestInternalmethod, which relies on the cached challenge, will no longer pass the claims when instantiating a newTokenRequestContext.
API change check
API changes are not detected in this pull request.