flutter_appauth 0.8.3 flutter_appauth: ^0.8.3 copied to clipboard
This plugin provides an abstraction around the Android and iOS AppAuth SDKs so it can be used to communicate with OAuth 2.0 and OpenID Connect providers
0.8.3 #
- [Android] Fixed an issue where a
NullPointerException
could occur when too many operations are started at one time. Thanks to the PR from Josh Burton
0.8.2 #
- [Android] Fixed issue 98 where certain exceptions on Android could prevent the plugin from being able to perform more operations
0.8.1 #
- Bump dependency on
flutter_appauth_platform_interface
to take in fix for casting error that could apply upon callingtoken()
method
0.8.0 #
- Migrated plugin to use platform interface
- [Android] Support v2 Android embedding. Example app has been updated accordingly
- BREAKING CHANGE removed name constructor from
FlutterAppAuth
class that visible for testing - BREAKING CHANGE when grant type cannot be inferred, this now throws an
ArgumentError
instead of a string containing the error message - Fixed some formatting issues in the changelog
0.7.0+1 #
- Fix code snippet in readme where the variable for saving the result of the
token()
method should have been of typeTokenResponse
(issue 74). Thanks to PR from Stephen Owens.
0.7.0 #
- Add minimum version of Flutter (1.12.13+hotfix.5) to address
MissingPluginException
raised issue 66 - Update pubspec file of example app to reference plugin in the
dependencies
section instead ofdev_dependencies
to avoid confusion - Update changelog for 0.6.0 where the minimum Flutter version should have been added
0.6.0+1 #
- Correct changelog entry for 0.6.0 release. Previously reported plugin updated to use Gradle plugin 3.5.2 but should have written 3.5.3
0.6.0 #
- [Android] BREAKING CHANGE Bump Gradle plugin to 3.5.3
- [iOS] Fix issue 63 where
login_hint
andpromptValues
was only passed when using service discovery - Update pubspec to match latest version of pub
- NOTE: this release actually requires updating the latest Flutter stable release (1.12) but missed enforcing it in this release. If you run into a
MissingPluginException
from using this version, please update your Flutter SDK.
0.5.0 #
- [Android] BREAKING CHANGE Bump compile and target SDK versions to 29
- [Android] BREAKING CHANGE Bump Gradle plugin to version 3.5.2
- Bump example app to use Gradle distribution version 5.4.1
0.4.2 #
- [iOS] Update AppAuth SDK dependency to 1.2 so it works on iOS 13. Thanks to the PR from Aynur Dinmukhametov
0.4.0+1 #
- Make it clearer in the readme that AndroidX is required
0.4.0 #
- [iOS] Update AppAuth SDK dependency to 1.1
- Update email address in pubspec.yaml
- Add
GrantTypes
class as a convenience for other developers to use - BREAKING CHANGE
authorize
method has been corrected to accept an instance of theAuthorizationRequest
class as opposed to an instance of theAuthorizationTokenRequest
class even though a token isn't being requested
0.3.0+1 #
- Update email address in pubspec.yaml
0.3.0 #
- [iOS] Explicitly set to depend on version 1.0 of the AppAuth iOS SDK
- Added Cirrus CI configuration
0.2.1+2 #
- Updated README to fix section on refreshing tokens where
authorizationCode
was shown in code snippet by mistake
0.2.1+1 #
- Updated README to add a note suggesting developers to check the documentation of the identity provider they plan to use
0.2.1 #
- [iOS] Fix issue with
login_hint
OAuth parameter (specified by theloginHint
field of theAuthorizationTokenRequest
andAuthorizationRequest
classes). Example app has also been updated to demonstrate how to specify it - Added support for specifying the
prompt
OAuth parameter. This can be specified by populating thepromptValues
field in the either theAuthorizationTokenRequest
orAuthorizationRequest
class. Updated example app (note: code is commented out) to demonstrate how to use it
0.2.0 #
- BREAKING CHANGE Updated the Android Gradle plugin to version 3.4.0. Applies to both the library and sample app
- Updated README with a note for developers to check to see if their development environment on the Android is up to date as this should now be fixed with the release of Android Studio 3.4
- Updated the Gradle distribution used by the example app to 5.1.1
0.1.1 #
- Changed the request codes used internally on the Android side to be less than 16 bits. Thanks to the PR from Dviejopomata
0.1.0 #
- BREAKING CHANGE Updated lower bound of the Dark SDK constraints from 2.0.0-dev.68.0 to 2.1.0
- Added more details to the error messages when platform exceptions are raised e.g. when problems occur exchanging the authorization code. Note that there will be differences in the level of details that will be returned on each platform. This is due the differences between the SDKs on each platform
0.0.4+1 #
- No functional changes in this release. Just remove old comment in the code and changes to format the README more nicely
0.0.4 #
- BREAKING CHANGE renamed
authorizeAndExchangeToken
method toauthorizeAndExchangeCode
to reflect what happens behind the scenes - Added an
authorize
method that performs an authorization request to get an authorization code without exchanging it - Updated README and sample code to demonstrate the use of the
authorize
method, how to exchange the authorization code for tokens and how to perform an authorization request that will retrieve the disocvery document with an issuer instead of the full discovery endpoint URL.
0.0.3+1 #
- Fix code around inferring grant type.
- Update plugin description
0.0.3 #
- Fix to infer grant type based on what is provided when creating a token request (currently only refresh token is supported);
- Update README to include link to https://appauth.io
- Update example to include (commented out) code where the authorization and token endpoints can be explicit set instead of relying on discovery to fetch those endpoints
0.0.2+1 #
- Switch example to connect to test instance of IdentityServer4
0.0.2 #
- Fix error when either
discoveryUrl
orissuer
has been passed to theAuthorizationTokenRequest
constructor
0.0.1+1 #
- Update the README to add sections for setting up on Android and iOS
0.0.1 #
- Initial release of the plugin.