flutter_appauth 0.4.0 flutter_appauth: ^0.4.0 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.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 where
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