MultiFactorInfo

public abstract class MultiFactorInfo extends Object
implements Parcelable
Known Direct Subclasses

Represents a single second factor means for the user. See direct subclasses for type-specific information.

Constant Summary

String FACTOR_ID_KEY

Inherited Constant Summary

Public Constructor Summary

Public Method Summary

abstract String
getDisplayName()
Returns the user-given display name for this second factor.
abstract long
getEnrollmentTimestamp()
Returns the enrollment timestamp for this second factor in seconds since epoch (UTC midnight on January 1, 1970).
abstract String
getFactorId()
Returns the factor id of this second factor.
abstract String
getUid()
Returns the unique identifier for this second factor.

Inherited Method Summary

Constants

public static final String FACTOR_ID_KEY

Constant Value: "factorIdKey"

Public Constructors

public MultiFactorInfo ()

Public Methods

public abstract String getDisplayName ()

Returns the user-given display name for this second factor.

public abstract long getEnrollmentTimestamp ()

Returns the enrollment timestamp for this second factor in seconds since epoch (UTC midnight on January 1, 1970).

public abstract String getFactorId ()

Returns the factor id of this second factor. You can match this with a generator factor id (e.g. FACTOR_ID) to determine to which direct subclass this can be cast.

public abstract String getUid ()

Returns the unique identifier for this second factor.