AuthModule class

Allows users to login with magic link. pass email, and showUI to true to show out of the box loading UI, Upon successful login, returns Future of String.

Inheritance

Constructors

AuthModule(RpcProvider provider)
constructor

Properties

hashCode int
The hash code for this object.
no setterinherited
provider RpcProvider
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

loginWithEmailOTP({required String email}) Future<String>
Login with Email OTP
Login with magic link
loginWithSMS({required String phoneNumber}) Future<String>
Login with SMS
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendToProvider({required Enum method, List? params}) Future<JavaScriptMessage>
Returns
inherited
sendToProviderWithMap({required Enum method, Map<String, dynamic>? params}) Future<JavaScriptMessage>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited