java.lang.Object | ||
↳ | com.google.firebase.auth.AuthCredential | |
↳ | com.google.firebase.auth.PhoneAuthCredential |
Wraps phone number and verification information for authentication purposes.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the unique string identifier for the provider type with which the credential is
associated.
| |||||||||||
Returns the unique string identifier for the sign in method with which the credential is
associated.
| |||||||||||
Gets the auto-retrieved SMS verification code if applicable.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns the unique string identifier for the provider type with which the credential is associated.
Returns | |
---|---|
String |
Returns the unique string identifier for the sign in method with which the credential is
associated. Should match that returned by fetchSignInMethodsForEmail(String)
after this user has signed in with this type
of credential.
Returns | |
---|---|
String |
Gets the auto-retrieved SMS verification code if applicable. When SMS verification is used, you
will be called back first via onCodeSent(String, PhoneAuthProvider.ForceResendingToken)
, and later onVerificationCompleted(PhoneAuthCredential)
with a PhoneAuthCredential
containing a non-null SMS code if auto-retrieval succeeded. If Firebase
used another approach to verify the phone number and triggers a callback via onVerificationCompleted(PhoneAuthCredential)
, then SMS code
can be null
.
Returns | |
---|---|
String |