TotpMultiFactorInfo
public class TotpMultiFactorInfo extends MultiFactorInfo
| java.lang.Object | ||
| ↳ | com.google.firebase.auth.MultiFactorInfo | |
| ↳ | com.google.firebase.auth.TotpMultiFactorInfo |
Represents the information for a TOTP (time-based one-time password) second factor.
Summary
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 |
getUid()Returns the unique identifier for this second factor. |
Inherited Constants |
||||
|---|---|---|---|---|
|
||||
|
Inherited methods |
||
|---|---|---|
|
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 TotpMultiFactorInfo.