vk_id_auth2 2.0.0
vk_id_auth2: ^2.0.0 copied to clipboard
A Flutter plugin for auth via VK ID SDK. The plugin allows you to log in using VK ID SDK and receive an access token and user data.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add vk_id_auth2This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
vk_id_auth2: ^2.0.0Alternatively, 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:vk_id_auth2/entity/entity.dart';
import 'package:vk_id_auth2/entity/src/vk_id_auth_data.dart';
import 'package:vk_id_auth2/entity/src/vk_id_user_data.dart';
import 'package:vk_id_auth2/vk_id_auth.dart';
import 'package:vk_id_auth2/vk_id_auth_method_channel.dart';
import 'package:vk_id_auth2/vk_id_auth_platform_interface.dart';