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

A Flutter (dart) package to generate and verify Time-based One-Time Passwords (TOTP) that works with authenticator apps like Google Authenticator, Microsoft Authenticator, and more.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add totp_authenticator

With Flutter:

 $ flutter pub add totp_authenticator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  totp_authenticator: ^1.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:totp_authenticator/totp_authenticator.dart';
1
likes
120
points
463
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter (dart) package to generate and verify Time-based One-Time Passwords (TOTP) that works with authenticator apps like Google Authenticator, Microsoft Authenticator, and more.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

base32, crypto

More

Packages that depend on totp_authenticator