oauth_webauth 3.1.1+12
oauth_webauth: ^3.1.1+12 copied to clipboard
This plugin provides an alternative to AppAuth using WebView for OAuth 2.0 authorization/authentication.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Types of changes
Addedfor new features.Changedfor changes in existing functionality.Deprecatedfor soon-to-be removed features.Removedfor now removed features.Fixedfor any bug fixes.Securityin case of vulnerabilities.
3.1.1+12 #
Fixed #
- Fixed bug on BaseWebView setState call after widget no longer appears in the widget tree.
3.1.0+11 #
Added #
- Detailed documentation added to OauthWebView parameters.
- New parameters added:
delimiter,basicAuth,httpClient. Each param is described in the OauthWebView class.
3.0.0+10 #
Added #
- Web support added. Despite this is a breaking change update, it really doesn't brake anything, you can still use it with no change required. Nevertheless if you want Web support to be enabled then you have to do an
init()call, check README to see details. shared_preferencesdependency added to support temporary state storage.
2.1.0+8 #
Added #
baseUrladded toOauthWebViewandOauthWebScreento allow to get back to application when web view gets redirected to baseUrl. AbaseUrlredirect will be treated as aonCancel.
2.0.1+6 #
Changed #
- WidgetsBinding.instance?.addObserver(this) added null-safety operator for stable channel compatibility.
2.0.0+5 #
Added #
- BaseWebView to handle basic web view with redirects. (OAuthWebView uses this under the hook).
- Boolean flags for controlling toolbar buttons visibility.
GlobalKeys added to BaseWebScreen and OauthWebScreen to allow webview control from outside.urlStreamadded to allow to asynchronously indicate web view to navigate to a different url.
Changed #
- OAuthWebView extends from BaseWebView.
- OAuthWebView
onSuccessfunction changed toonSuccessAuth.
Fixed #
useHybridCompositionset to true for Android to avoid bugs with keyboard on recent Android versions > 10.- AndroidManifest from example project updated to allow project to run in Android 12.
- Minor bugs fixed on UI state update.
1.1.0+3 - 2022-03-02 #
Added #
contentLocaleproperty can be set to indicate the web auth to use that locale for internationalization.
1.0.0+1 #
- First release