flutter_appauth_platform_interface 7.0.0
flutter_appauth_platform_interface: ^7.0.0 copied to clipboard
A common platform interface for the flutter_appauth plugin.
7.0.0 #
- Breaking change Bumped minimum Flutter and Dart SDK constraints to 3.13.0 and 3.1.0 respectively
- Breaking change all methods have now been made to return non-nullable types
- Updated error handling to expose more details for each platform. Plugin will now throw
FlutterAppAuthUserCancelledExceptionwhen an authorization request has been cancelled as a result of the user closing the browser. For other scenarios the plugin will throwFlutterAppAuthPlatformException. See the API docs for both classes for more details on the available details. Both exception classes inherit fromPlatformExceptionso the changes should be backwards compatible
6.0.0 #
- Breaking change Aligned minimum Flutter and Dart SDK constraints to 3.0.0 and 2.17 respectively
- Bumped maximum Dart SDK constraint
5.2.0+1 #
- Updated code for API docs to avoid lines longer than 80 characters
5.2.0 #
- Added
preferEphemeralSessiontoEndSessionRequestThanks to the PR from Daniel Ziegler.
5.1.0 #
- Added ability to specify the
nonceas part of requests
5.0.0 #
- Breaking change
AuthorizationResponse's constructor now includesnonceand has changed to take positional parameters noncecan now be specified forTokenRequestclass. This is especially useful on Android as the AppAuth Android SKD had turned on ID token validation that results in nonce mismatch errors. These errors should no longer appear when using thenoncevalue returned by theAuthorizationResponseobject after callingauthorize()and passing the value to theTokenRequestwhen calling thetoken()method- now uses
mocktailinstead ofmockitoas dev dependency for unit tests
4.1.0 #
- Added
scopesproperty toTokenResponseclass andAuthorizationTokenResponseclass that inherits from it. Thanks to PR from leoshusar
4.0.0 #
- Breaking change
AuthorizationServiceConfigurationconstructor has changed to take named parameters - Added
endSession()method,EndSessionRequestandEndSessionResponseclasses to support end session requests
3.1.0 #
- Added the ability to specify the response mode for authorization requests. This can be done using the
responseModeparameter when constructing either anAuthorizationRequestorAuthorizationTokenRequest. This was done as the AppAuth Android SDK throws an exception when this was done viaadditionalParameters - Updated Dart SDK constraints
3.0.0 #
- Migrated to null safety
AuthorizationServiceConfigurationandAuthorizationResponsenow haveconstconstructors
2.0.0 #
- Breaking change Removed the
toMapmethods so that it's not part of the public API surface. This was done as these methods were for internal use. Currentlyflutter_appauth(version 0.8.3) is constrained to depend on versions >= 1.0.2 and < 2.0.0. As it's possible that plugin consumers were calling the methods via the plugin, where the platform interface is a transitive dependency, the platform interface has been bumped to version 2.0.0 instead of 1.1.0 to be safe. - Added
preferEphemeralSessiontoAuthorizationRequestandAuthorizationTokenRequestclasses. Thanks to the PR from Matthew Smith.
1.0.2 #
1.0.1 #
- Specify the object type for the
instanceproperty withinFlutterAppAuthPlatforminstead of being dynamic
1.0.0+1 #
- Add pub badge to readme
1.0.0 #
- Initial release of platform interface