1.3.0-beta.2 (2021-03-10)
New Features
- Added the support to enable and configure Persistent Token Cache via
TokenCachePersistenceOptions
API onInteractiveBrowserCredentialBuilder
,AuthorizationCodeCredentialBuilder
,UsernamePasswordCredentialBuilder
,DeviceCodeCredentialBuilderBuilder
ClientSecretCredentialBuilder
,ClientCertificateCredentialBuilder
andSharedTokenCacheCredentialBuilder
. - Added new APIs for authenticating users with
DeviceCodeCredential
,InteractiveBrowserCredential
andUsernamePasswordCredential
.- Added method
authenticate
which pro-actively interacts with the user to authenticate if necessary and returns a serializableAuthenticationRecord
- Added method
- Added following configurable options in classes
DeviceCodeCredentialBuilder
andInteractiveBrowserCredentialBuilder
authenticationRecord
enables initializing a credential with anAuthenticationRecord
returned from a prior call toAuthenticate
disableAutomaticAuthentication
disables automatic user interaction causing the credential to throw anAuthenticationRequiredException
when interactive authentication is necessary.
Dependency Updates
- Upgraded
azure-core
dependency to 1.14.0 - Upgraded
msal4j
dependency to 1.9.1 - Upgraded
msal4j-persistence-extension
to 1.1.0