OTPAuthMethod class
- Implemented types
Constructors
- OTPAuthMethod({required String phoneNumber})
Properties
- apiLink ↔ String?
-
Map
that gets called inGraphQL
casegetter/setter pair - errorFunction ↔ (dynamic Function(Object error)?)
-
getter/setter pair
- errorKey ↔ Object?
-
How you expect to find the error in responce
Map
, to beString
,Map
,dynamic
, ...getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- phoneNumber ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceName ↔ String
-
Connect to firebase and sends SMS with an OTP
getter/setter pairoverride
- tokenKey ↔ Object?
-
How you expect to find the token in responce
Map
, to beString
,Map
,dynamic
, ...getter/setter pair
Methods
-
auth(
) → Future< AuthUser> -
Make sure you Sent the sms first, and you have the sms code.
override
-
getIdToken(
String smsCode) → Future< String> -
logout(
) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onRetrievalTimeout(
String verificationId) → void -
sendSMS(
) → void -
smsCodeSent(
String verificationId, int? forceCodeResend) → void -
toString(
) → String -
A string representation of this object.
inherited
-
verificationCompleted(
PhoneAuthCredential credentials) → void -
verificationFailed(
FirebaseAuthException exception) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited