TotpMultiFactorInfo

public class TotpMultiFactorInfo extends MultiFactorInfo


Represents the information for a TOTP (time-based one-time password) second factor.

Summary

Public fields

final @Nullable String
final long
final String

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 FACTOR_ID, identifying this as a .

@NonNull String

Returns the unique identifier for this second factor.

Inherited Constants

From com.google.firebase.auth.MultiFactorInfo
static final String
FACTOR_ID_KEY = "factorIdKey"
From android.os.Parcelable
static final int
static final int
static final int
static final int

Inherited methods

From android.os.Parcelable
abstract int
int

Public fields

displayName

public final @Nullable String displayName

enrollmentTimestamp

public final long enrollmentTimestamp

uid

public final String uid

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 .

getUid

public @NonNull String getUid()

Returns the unique identifier for this second factor.