1.4.0 (2022-01-06)
Features Added
- Added a new function
authorizeRequestOnClaimChallenge
, that can be used with the@azure/core-rest-pipeline
'sbearerTokenAuthenticationPolicy
to support Continuous Access Evaluation (CAE) challenges. - Call the
bearerTokenAuthenticationPolicy
with the following options:bearerTokenAuthenticationPolicy({ authorizeRequestOnChallenge: authorizeRequestOnClaimChallenge })
. Once provided, thebearerTokenAuthenticationPolicy
policy will internally handle Continuous Access Evaluation (CAE) challenges. When it can't complete a challenge it will return the 401 (unauthorized) response from ARM.
Bugs Fixed
- Fixed a serializer issue with nested polymorphics. PR #19455