OTPAuth class abstract
Represents an abstract class for implementing One-Time Password (OTP) authentication methods in Dart.
This class provides a foundation for creating variable length OTP generation algorithms. Subclasses must implement the value method to generate OTP values based on a specific algorithm.
Constructors
- OTPAuth.new(int digits, {String? label, String? issuer})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
value(
) → int - Generates the next OTP value
-
valueString(
) → String - Returns the next OTP value as string
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited