humanid_flutter_sdk 0.0.4 icon indicating copy to clipboard operation
humanid_flutter_sdk: ^0.0.4 copied to clipboard

Human ID Flutter SDK

HumanID Flutter SDK

General DocumentationContributingGalleryFAQ

Meet humanID - An anonymous online identity, enabling platforms to offer the speed and comfort of social logins, while guaranteeing absolute privacy and protecting our communities by permanently blocking bots, spams, and trolls.

Requirements #

  • Dart
  • Flutter SDK

Please update to the latest stable SDK!

Installation #

pubspec.yaml
dependencies:
  humanid_flutter_sdk: ^0.0.4

Credentials Access #

Get the appId and appSecret by dropping us an email developers@human-id.org.

How to use #

Configure HumanId SDK inside a press function

import 'package:humanid_flutter_sdk/ui/human_id_sdk.dart';
import 'package:humanid_flutter_sdk/utils/authorization_arguments.dart';
import 'package:humanid_flutter_sdk/utils/routes.dart';
  
configureHumanIdSDK(
                context: context,
                arguments: AuthorizationArguments(
                  appName: 'YOUR_APP_NAME',
                  iconUrl: 'YOUR_APP_ICON',
                  clientId: 'YOUR_CLIENT_ID',
                  clientSecret: 'YOUR_CLIENT_SECRET',
                ),
                onSuccessLogin: (accessToken) {
                  setState(() {
                    token = accessToken;
                  });
                }), 

You're set! #

Now you can integrate your Flutter app to humanID. See the full sample here to learn more.

License #

Copyright 2019-2020 Bluenumber Foundation Licensed under the GNU General Public License v3.0