forestvpn_auth_api 2.0.0+1 copy "forestvpn_auth_api: ^2.0.0+1" to clipboard
forestvpn_auth_api: ^2.0.0+1 copied to clipboard

A package to interact auth.forestvpn.com (registration, authentication, bearer tokens, ...)

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add forestvpn_auth_api

With Flutter:

 $ flutter pub add forestvpn_auth_api

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  forestvpn_auth_api: ^2.0.0+1

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:forestvpn_auth_api/api.dart';
import 'package:forestvpn_auth_api/api/auth_api.dart';
import 'package:forestvpn_auth_api/api_client.dart';
import 'package:forestvpn_auth_api/api_exception.dart';
import 'package:forestvpn_auth_api/api_helper.dart';
import 'package:forestvpn_auth_api/auth/api_key_auth.dart';
import 'package:forestvpn_auth_api/auth/authentication.dart';
import 'package:forestvpn_auth_api/auth/http_basic_auth.dart';
import 'package:forestvpn_auth_api/auth/http_bearer_auth.dart';
import 'package:forestvpn_auth_api/auth/oauth.dart';
import 'package:forestvpn_auth_api/model/error.dart';
import 'package:forestvpn_auth_api/model/introspection_request.dart';
import 'package:forestvpn_auth_api/model/introspection_response.dart';
import 'package:forestvpn_auth_api/model/introspection_response_ext.dart';
import 'package:forestvpn_auth_api/model/sign_in_request.dart';
import 'package:forestvpn_auth_api/model/sign_in_response.dart';
import 'package:forestvpn_auth_api/model/sign_in_verify_request.dart';
import 'package:forestvpn_auth_api/model/sign_up_request.dart';
import 'package:forestvpn_auth_api/model/sign_up_response.dart';
import 'package:forestvpn_auth_api/model/sign_up_verify_request.dart';
import 'package:forestvpn_auth_api/model/token_request.dart';
import 'package:forestvpn_auth_api/model/token_response.dart';
import 'package:forestvpn_auth_api/model/user_login_request.dart';
import 'package:forestvpn_auth_api/model/user_profile.dart';
import 'package:forestvpn_auth_api/model/user_registration_request.dart';
import 'package:forestvpn_auth_api/model/user_registration_response.dart';
import 'package:forestvpn_auth_api/model/user_registration_verify_request.dart';
1
likes
100
pub points
0%
popularity

Publisher

verified publisherforestvpn.com

A package to interact auth.forestvpn.com (registration, authentication, bearer tokens, ...)

Homepage

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http, intl, meta

More

Packages that depend on forestvpn_auth_api