OtpModule class
Module managing one-time password (OTP) delivery and verification.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendOtp(
{required String identifier, String? channel}) → Future< void> -
Requests an OTP to be sent to the given
identifiervia optionalchannel. -
toString(
) → String -
A string representation of this object.
inherited
-
verifyOtp(
{required String identifier, required String code}) → Future< LoginResult> -
Verifies an OTP
codeforidentifier, storing the resulting session on success.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited