PhoneMultiFactorInfo
public class PhoneMultiFactorInfo extends MultiFactorInfo
| java.lang.Object | ||
| ↳ | com.google.firebase.auth.MultiFactorInfo | |
| ↳ | com.google.firebase.auth.PhoneMultiFactorInfo |
Represents the information for a phone second factor.
Summary
Constants |
|
|---|---|
static final Parcelable.Creator<PhoneMultiFactorInfo> |
Public methods |
|
|---|---|
@Nullable String |
Returns the user-given display name for this second factor. |
long |
Returns the enrollment timestamp for this second factor in seconds since epoch (UTC midnight on January 1, 1970). |
@NonNull String |
Returns |
@NonNull String |
Returns the phone number associated with this second factor verification method. |
@NonNull String |
getUid()Returns the unique identifier for this second factor. |
void |
writeToParcel(Parcel dest, int flags) |
Inherited Constants |
||||
|---|---|---|---|---|
|
||||
|
Inherited methods |
||
|---|---|---|
|
Constants
Public fields
Public methods
getDisplayName
public @Nullable String getDisplayName()
Returns the user-given display name for this second factor.
getEnrollmentTimestamp
public long getEnrollmentTimestamp()
Returns the enrollment timestamp for this second factor in seconds since epoch (UTC midnight on January 1, 1970).
getFactorId
public @NonNull String getFactorId()
Returns FACTOR_ID, identifying this as a PhoneMultiFactorInfo.
getPhoneNumber
public @NonNull String getPhoneNumber()
Returns the phone number associated with this second factor verification method.