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

Libraries

authorization_arguments
colors
custom_button
error_handler
exchange_token_item
human_id_sdk
login_item
login_request
otp_item
otp_request
otp_screen
routes
size_config
user_api_client
user_bloc
user_data_store
user_event
user_repository
user_state
validation_helper