PhoneAuthCredential class
The auth credential returned from calling PhoneAuthProvider.credential.
- Inheritance
-
- Object
- AuthCredential
- PhoneAuthCredential
Properties
- accessToken → String?
-
The OAuth access token associated with the credential if it belongs to an
OAuth provider, such as
facebook.com
,twitter.com
, etc. Using the OAuth access token, you can call the provider's API.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- providerId → String
-
The authentication provider ID for the credential. For example,
'facebook.com', or 'google.com'.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signInMethod → String
-
The authentication sign in method for the credential. For example,
'password', or 'emailLink'. This corresponds to the sign-in method
identifier returned in
fetchSignInMethodsForEmail
.finalinherited - smsCode → String?
-
The SMS code sent to and entered by the user.
final
- token → int?
-
A token used to identify the AuthCredential on native platforms.
finalinherited
- verificationId → String?
-
The phone auth verification ID.
final
Methods
-
asMap(
) → Map< String, dynamic> -
Returns the credential as a serialized Map.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited