github Azure/azure-sdk-for-js @azure/core-client_1.4.0

latest releases: @azure-rest/core-client_2.3.0, @azure/core-xml_1.4.4, @azure/core-tracing_1.2.0...
2 years ago

1.4.0 (2022-01-06)

Features Added

  • Added a new function authorizeRequestOnClaimChallenge, that can be used with the @azure/core-rest-pipeline's bearerTokenAuthenticationPolicy to support Continuous Access Evaluation (CAE) challenges.
  • Call the bearerTokenAuthenticationPolicy with the following options: bearerTokenAuthenticationPolicy({ authorizeRequestOnChallenge: authorizeRequestOnClaimChallenge }). Once provided, the bearerTokenAuthenticationPolicy 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

Don't miss a new azure-sdk-for-js release

NewReleases is sending notifications on new releases.