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 argumentcertificate_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 ofTokenCachePersistenceOptions
. 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'sauthenticate()
method