flutter_2fa 1.0.1 copy "flutter_2fa: ^1.0.1" to clipboard
flutter_2fa: ^1.0.1 copied to clipboard

A flutter package to enable Two Factor Authentication in your app with an Authenticator.

Flutter 2FA #

** This is an unofficial SDK for flutter

🔐 This package to helps adds 2 Factor Authentiation in any flutter project with ease.

📸 Screen Shots #

🚀 How to Use plugin #

  • Launch Flutter 2FA with activate method in any button/onpressed action
import 'package:flutter_2fa/flutter_2fa.dart';

  void launch() async {
       await Flutter2FA().activate(
                        context: context,
                        appName: "Flutter 2FA", // your app ame
                        email: "hipheckt@xyz.com" // email of user to authenticate
                        );
  }
  • Verify user authentication
import 'package:flutter_2fa/flutter_2fa.dart';

     ...
        void verify() async {
            await Flutter2FA().verify(context: context);
        }
      ...

✨ Contribution #

PR's and suggestions are very much welcome.

3
likes
70
pub points
70%
popularity

Publisher

verified publisherifeoluwaafuwape.com

A flutter package to enable Two Factor Authentication in your app with an Authenticator.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

bip39, flutter, otp, pinput, plugin_platform_interface, qr_flutter, shared_preferences

More

Packages that depend on flutter_2fa