dart_dash_otp 2.0.0 copy "dart_dash_otp: ^2.0.0" to clipboard
dart_dash_otp: ^2.0.0 copied to clipboard

Generate and verify TOTP and HOTP one-time passwords (RFC 6238 / RFC 4226) for 2FA and MFA, with otpauth:// URIs compatible with Google Authenticator.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_dash_otp

With Flutter:

 $ flutter pub add dart_dash_otp

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

dependencies:
  dart_dash_otp: ^2.0.0

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:dart_dash_otp/dart_dash_otp.dart';
13
likes
160
points
470
downloads

Documentation

Documentation
API reference

Publisher

verified publisherdatogedon.com

Weekly Downloads

Generate and verify TOTP and HOTP one-time passwords (RFC 6238 / RFC 4226) for 2FA and MFA, with otpauth:// URIs compatible with Google Authenticator.

Repository (GitHub)
View/report issues

Topics

#otp #totp #hotp #authentication #two-factor-authentication

License

MIT (license)

Dependencies

base32, crypto

More

Packages that depend on dart_dash_otp