From f89cd9edf9cf2a761fceef8ff5f768e14f9d7657 Mon Sep 17 00:00:00 2001 From: Serhii Yatsyna Date: Fri, 31 Mar 2023 21:36:01 +0300 Subject: [PATCH] rename redirect_url to redirect_uri pr(#12) --- auth0_flutter_web/lib/src/options.dart | 17 ++++------------- auth0_flutter_web/pubspec.lock | 6 +++--- auth0_flutter_web/pubspec.yaml | 6 +++--- 3 files changed, 10 insertions(+), 19 deletions(-) diff --git a/auth0_flutter_web/lib/src/options.dart b/auth0_flutter_web/lib/src/options.dart index 7fc98ca..c34e2dd 100644 --- a/auth0_flutter_web/lib/src/options.dart +++ b/auth0_flutter_web/lib/src/options.dart @@ -52,7 +52,7 @@ class Auth0ClientOptions extends BaseLoginOptions { external String get domain; external String get issuer; external String get client_id; - external String get redirect_url; + external String get redirect_uri; external num get leeway; external Object get cacheLocation; external bool get useRefreshTokens; @@ -78,7 +78,7 @@ class Auth0ClientOptions extends BaseLoginOptions { @required String domain, String issuer, @required String client_id, - String redirect_url, + String redirect_uri, num leeway, Object cacheLocation, bool useRefreshTokens, @@ -128,7 +128,7 @@ class RedirectLoginOptions extends BaseLoginOptions { String acr_values, String scope, String audience, - String redirect_url, + String redirect_uri, String? connection, String? organization, String? invitation, @@ -140,16 +140,7 @@ class RedirectLoginOptions extends BaseLoginOptions { @anonymous class GetTokenWithPopupOptions extends PopupLoginOptions { external factory GetTokenWithPopupOptions( - {String display, - String prompt, - Object max_age, - String ui_locales, - String id_token_hint, - String login_hint, - String acr_values, - String scope, - String audience, - String? connection}); + {String display, String prompt, Object max_age, String ui_locales, String id_token_hint, String login_hint, String acr_values, String scope, String audience, String? connection}); } @JS() diff --git a/auth0_flutter_web/pubspec.lock b/auth0_flutter_web/pubspec.lock index 81d2e7c..1a70a81 100644 --- a/auth0_flutter_web/pubspec.lock +++ b/auth0_flutter_web/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: "direct main" description: name: js - sha256: d9bdfd70d828eeb352390f81b18d6a354ef2044aa28ef25682079797fa7cd174 + sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 url: "https://pub.dev" source: hosted - version: "0.6.3" + version: "0.6.7" meta: dependency: "direct main" description: @@ -18,4 +18,4 @@ packages: source: hosted version: "1.9.1" sdks: - dart: ">=2.12.0 <3.0.0" + dart: ">=2.19.0 <3.0.0" diff --git a/auth0_flutter_web/pubspec.yaml b/auth0_flutter_web/pubspec.yaml index 590d20f..68ff92a 100644 --- a/auth0_flutter_web/pubspec.yaml +++ b/auth0_flutter_web/pubspec.yaml @@ -5,8 +5,8 @@ homepage: https://anthonychwong.netlify.app/ repository: https://github.com/anthonychwong/auth0-flutter-web environment: - sdk: '>=2.12.0 <3.0.0' + sdk: ">=2.12.0 <3.0.0" dependencies: - js: ^0.6.2 - meta: ^1.2.4 + js: ^0.6.7 + meta: ^1.9.1