poeta_auth0_client 0.1.1 poeta_auth0_client: ^0.1.1 copied to clipboard
A new Flutter library for Poeta Digital can apply Auth0 as soon as possible.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add poeta_auth0_client
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
poeta_auth0_client: ^0.1.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:poeta_auth0_client/auth0_client.dart';
import 'package:poeta_auth0_client/helpers/http.helper.dart';
import 'package:poeta_auth0_client/helpers/jwt.helper.dart';
import 'package:poeta_auth0_client/network/api.provider.dart';
import 'package:poeta_auth0_client/network/auth.service.dart';
import 'package:poeta_auth0_client/network/custom.exception.dart';
import 'package:poeta_auth0_client/network/user.service.dart';
import 'package:poeta_auth0_client/repository/auth.repository.dart';
import 'package:poeta_auth0_client/repository/user.repository.dart';
import 'package:poeta_auth0_client/storage/storage.helper.dart';
import 'package:poeta_auth0_client/storage/storage.keys.dart';