msal_auth 3.3.0  msal_auth: ^3.3.0 copied to clipboard
msal_auth: ^3.3.0 copied to clipboard
A comprehensive Flutter plugin for managing Microsoft authentication using the native Microsoft Authentication Library (MSAL).
3.3.0 #
- Created AppThemestyle in theexampleapp for MSAL WebView in Android. #issue/119
- Added support for customised webview in iOS and macOS. #issue/90
3.2.7 #
- Fixed issue of authorityTypevalue assignment in iOS/MacOS. #issue/118
3.2.6 #
- Fixed MSAL error conversion in Dartdue tonildetails received from iOS/MacOS.
- Improved error codes in iOS/MacOS when a custom exception needs to be thrown.
3.2.5 #
- Fixed an issue on iOSwhere the Authenticator app did not open when switching the broker toAuthenticator.
- Refactored error handling in MSAL exceptions to include correlation IDs and improve error detail mapping. iOS/MacOS now shows the proper exception message instead of Operation couldn't be completed.
- AuthenticationResult (Android): Fixed username value in account mapping.- usernamevalue will be- nullinstead of- Missing from token responseif not found.
3.2.4 #
- Handle UI unavailable error in acquireTokenmethod and adjust view controller retrieval logic. #issue/101
- Add authorityparameter support foracquireTokenandacquireTokenSilentmethods. #issue/91
3.2.3 #
- Fixed an issue causing MsalUiRequiredExceptiondue to an internal call toacquireTokenSilentwithin theacquireTokenmethod during native calls. #issue/82
3.2.2 #
- Fixed an issue of broker in iOS due to broker availability was set to auto in the acquireTokenmethod.
3.2.1 #
- Updated exampleapp to use the signature hash programmatically instead of hardcoding it inAndroidManifest.xml.
- Updated the example/READMEfor detailed instructions on how to set up theexampleapp.
- Update documentation for the following:
- Internet and Network State permissions in AndroidManifest.xml.
- Debug and release signature hash generation for Android.
- ProGuardsetup within this plugin.
 
- Internet and Network State permissions in 
3.2.0 #
- Upgrade MSAL native libraries:
- Android: 6.0.1(Version fixed to ensure each release ofmsal_authconsistently uses a specific native MSAL version)
- Apple: 2.2.0
 
- Android: 
- Used modern Gradlesyntax with updated Kotlin and Gradle wrapper version.
- Migrated the Android example app from Groovy to Kotlin build scripts.
3.1.5 #
3.1.4 #
3.1.3 #
3.1.2 #
- Upgrade Android configuration to support latest Gradle version.
3.1.1 #
- Made the namenullable inAccountclass because it may be null if the user is registered without setting a name.
- Used default authority in example's msal_config.json.
3.1.0 #
- Added support for the macOSplatform.
- BREAKING CHANGES:
- IosConfigclass has been renamed to- AppleConfigand now this configuration class supports iOS and macOS.- brokerproperty of this class is used only for iOS.
 
3.0.1 #
- Added Account Moderelated instructions for Android in the README & fixed Dart analysis.
3.0.0 #
- 
Added support of singleandmultipleaccount mode.
- 
Added new classes & methods based on account mode: - SingleAccountPca (Single Account Mode):
- currentAccount
- signOut()
 
- MultipleAccountPca (Multiple Account Mode):
- getAccount()
- getAccounts()
- removeAccount()
 
 
- SingleAccountPca (Single Account Mode):
- 
Added redirectUriinAndroidConfigclass as a required parameter.
- 
Added identifieroption inacquireTokenSilent()that is required for multiple account mode.
- 
Defined all the possible exceptions in Dart side that can be thrown by native MSAL SDK. 
- 
Exampleapp is completely re-written to showcase all the features.
- 
BREAKING CHANGES: - MsalAuth.createPublicClientApplicationis removed and added 3 classes:- PublicClientApplicationsuper class.
- SingleAccountPcafor single account mode.- SingleAccountPca.create()is used to create single account public client application.
 
- MultipleAccountPcafor multiple account mode.- MultipleAccountPca.create()is used to create multiple account public client application.
 
 
- tenantIdfrom- AndroidConfigis removed because it can be set through JSON configuration file.
- AuthMiddlewareenum in- IosConfigis renamed to- Broker.
- TenantTypeenum in- IosConfigis renamed to- AuthorityTypewith it's values:- entraIDAndMicrosoftAccountto- aad.
- azureADB2Cto- b2c.
 
- scopesargument is moved to- acquireToken()&- acquireTokenSilent()methods. these methods are now part of- PublicClientApplicationclass.
- logout()is removed so- signOut()or- removeAccount()is used based on your account mode.
- MsalUserclass is replaced by- AuthenticationResultwith additional parameters.
- MsalUserCanceledExceptionis renamed to- MsalUserCancelException.
 
2.2.1 #
- Added keychain group com.microsoft.adalcacheinexample/iosand updated instruction in README.
2.2.0 #
- Moved loginHintparam toacquireTokenfunction.
- Added support of Promptoption inacquireTokenfunction.
2.1.1 #
- Updated README for login process stuck on iOS due to missing callback handling. issue#26, issue#33
2.1.0 #
- Fixed issue of activity is nullwhenFlutterFragmentActivityis used inMainActivity.kt
2.0.2 #
- Added idTokenparam inMsalUserclass.
2.0.1 #
- Added support of loginHint.
2.0.0 #
- Added support for authenticating against Azure AD B2C tenants on iOS.
1.0.8 #
- Fixed crash in Android when MsalUiRequiredExceptionoccurs.
- Added info about authorityused in iOS.
- Updated examplecode.
1.0.7 #
- Fixed Dart Analysisin model classes.
1.0.6 #
- Added documentation for How to setup app in Azure portal.
1.0.5 #
- Added documentation for broker authentication.
1.0.4 #
- Added documentation.
1.0.3 #
- Fixed Dart Analysis
1.0.2 #
- Added Dart Analysis
1.0.1 #
- Set tokenExpiresOnvalue as a milliseconds since epoch.
1.0.0 #
- Initial release.