github Azure/azure-sdk-for-python azure-identity_1.6.0b2

latest releases: azure-cognitiveservices-language-textanalytics_0.2.2, azure-cognitiveservices-anomalydetector_0.3.1, azure-communication-callautomation_1.2.0...
pre-release3 years ago

1.6.0b2 (2021-03-09)

Breaking Changes

These changes do not impact the API of stable versions such as 1.5.0.
Only code written against a beta version such as 1.6.0b1 may be affected.

  • Renamed CertificateCredential keyword argument certificate_bytes to
    certificate_data

  • Credentials accepting keyword arguments allow_unencrypted_cache and
    enable_persistent_cache to configure persistent caching accept a
    cache_persistence_options argument instead whose value should be an
    instance of TokenCachePersistenceOptions. For example:

    # before (e.g. in 1.6.0b1):
    DeviceCodeCredential(enable_persistent_cache=True, allow_unencrypted_cache=True)
    
    # after:
    cache_options = TokenCachePersistenceOptions(allow_unencrypted_storage=True)
    DeviceCodeCredential(cache_persistence_options=cache_options)
    

    See the documentation and samples for more details.

Added

  • New class TokenCachePersistenceOptions configures persistent caching
  • The AuthenticationRequiredError.claims property provides any additional
    claims required by a user credential's authenticate() method

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

NewReleases is sending notifications on new releases.