auth_totp 2.0.0
auth_totp: ^2.0.0 copied to clipboard
A fast and easy-to-use time-based one-time password (TOTP) authentication package for your Flutter application.
2.0.0 #
- Feature: Added support for 8-digit TOTP codes (
digitsparameter). - Fix: Resolved
Unsupported operation: Int64 accessor not supported by dart2json web. - Fix: Refactored
getQRCodeUrlto useUrifor safe QR code URL generation. - Feature: Added support for SHA-256 and SHA-512 via
OTPAlgorithmenum. - Feature: Added HOTP (Counter-Based OTP) generation and verification (
generateHOTPCode,verifyHOTPCode). - Feature: Added
generateRecoveryCodesutility to generate alphanumeric backup codes. - Feature: Added
OTPAuthURIclass andparseURImethod to safely parseotpauth://URIs. - Feature: Added
generateQRMatrixusing theqrpackage for offline, privacy-focused QR code generation.
1.0.1 #
- bug fixed
secretKeyStyleproperty added to createSecret method to customized secret key style.autoPaddingproperty added to createSecret method.intervalproperty added to verifyCode method, to set custom time interval.- create method length limit increased to 255
1.0.0 #
- initial release
