forestvpn_auth_api 1.0.2
forestvpn_auth_api: ^1.0.2

Dart native js
Flutter Android iOS web

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

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  forestvpn_auth_api: ^1.0.2

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. 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';
0
likes
70
pub points
12%
popularity

Publisher

forestvpn.com

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

Homepage

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http

More

Packages that depend on forestvpn_auth_api