msal_auth 3.1.0
msal_auth: ^3.1.0 copied to clipboard
A comprehensive Flutter plugin for managing Microsoft authentication using the native Microsoft Authentication Library (MSAL).
3.1.0 #
- Added support for the
macOSplatform. - BREAKING CHANGES:
IosConfigclass has been renamed toAppleConfigand 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.
tenantIdfromAndroidConfigis removed because it can be set through JSON configuration file.AuthMiddlewareenum inIosConfigis renamed toBroker.TenantTypeenum inIosConfigis renamed toAuthorityTypewith it's values:entraIDAndMicrosoftAccounttoaad.azureADB2Ctob2c.
scopesargument is moved toacquireToken()&acquireTokenSilent()methods. these methods are now part ofPublicClientApplicationclass.logout()is removed sosignOut()orremoveAccount()is used based on your account mode.MsalUserclass is replaced byAuthenticationResultwith additional parameters.MsalUserCanceledExceptionis renamed toMsalUserCancelException.
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.