PassageOneTimePasscode class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
activate(
String oneTimePasscode, String id) → Future< AuthResult> - Activates a one-time passcode when a user inputs it. This function handles both login and registration one-time passcodes.
-
login(
String identifier, {String? language}) → Future< OneTimePasscode> - Creates and sends a new one-time passcode for logging in.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
String identifier, {String? language}) → Future< OneTimePasscode> - Creates and sends a new one-time passcode for registration.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited