Skip to content

Commit

Permalink
rename redirect_url to redirect_uri pr(anthonychwong#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergo007 committed Mar 31, 2023
1 parent ae31c31 commit f89cd9e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 19 deletions.
17 changes: 4 additions & 13 deletions auth0_flutter_web/lib/src/options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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()
Expand Down
6 changes: 3 additions & 3 deletions auth0_flutter_web/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
6 changes: 3 additions & 3 deletions auth0_flutter_web/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f89cd9e

Please sign in to comment.