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

A Dart package for generating and verifying HOTP and TOTP one-time passwords using RFC 4226 and RFC 6238.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add otp_auth

With Flutter:

 $ flutter pub add otp_auth

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

dependencies:
  otp_auth: ^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:otp_auth/otp_auth.dart';
0
likes
160
points
186
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart package for generating and verifying HOTP and TOTP one-time passwords using RFC 4226 and RFC 6238.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#otp #totp #hotp #authenticator #two-factor-auth

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

crypto

More

Packages that depend on otp_auth