Skip to content

๐Ÿ” This package to helps adds 2 Factor Authentiation in any flutter project with ease.

License

Notifications You must be signed in to change notification settings

Hipheckts/Flutter-2FA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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.

About

๐Ÿ” This package to helps adds 2 Factor Authentiation in any flutter project with ease.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published