auth0_web_flutter 0.0.4 auth0_web_flutter: ^0.0.4 copied to clipboard
A Flutter package to easily integrate Auth0 into Web Flutter apps.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add auth0_web_flutter
With Flutter:
$ flutter pub add auth0_web_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
auth0_web_flutter: ^0.0.4
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:auth0_web_flutter/auth0/auth0.dart';
import 'package:auth0_web_flutter/auth0/auth0_flutter_web/auth0_flutter_web.dart';
import 'package:auth0_web_flutter/auth0/auth0_flutter_web/src/auth0_js_interop.dart';
import 'package:auth0_web_flutter/auth0/auth0_flutter_web/src/js_stubs.dart';
import 'package:auth0_web_flutter/auth0/auth0_flutter_web/src/options.dart';
import 'package:auth0_web_flutter/auth0/auth0_flutter_web/src/promise_to_future_as_map_stub.dart';
import 'package:auth0_web_flutter/auth0/get_logged_in_user/get_logged_in_user.dart';
import 'package:auth0_web_flutter/auth0/get_logged_in_user/get_logged_in_user_stub.dart';
import 'package:auth0_web_flutter/auth0/get_logged_in_user/get_logged_in_user_web.dart';
import 'package:auth0_web_flutter/auth0/handle_redirect_callback/handle_redirect_callback.dart';
import 'package:auth0_web_flutter/auth0/handle_redirect_callback/handle_redirect_callback_stub.dart';
import 'package:auth0_web_flutter/auth0/handle_redirect_callback/handle_redirect_callback_web.dart';
import 'package:auth0_web_flutter/auth0/init_auth0/init_auth0_web.dart';
import 'package:auth0_web_flutter/auth0/login_user/login_user.dart';
import 'package:auth0_web_flutter/auth0/login_user/login_user_stub.dart';
import 'package:auth0_web_flutter/auth0/login_user/login_user_web.dart';
import 'package:auth0_web_flutter/auth0/logout_user/logout_user.dart';
import 'package:auth0_web_flutter/auth0/logout_user/logout_user_stub.dart';
import 'package:auth0_web_flutter/auth0/logout_user/logout_user_web.dart';
import 'package:auth0_web_flutter/auth0_flutter_web.dart';