Skip to content

cloudfire-auth / MultiFactorInfo

Abstract Interface: MultiFactorInfo

Defined in: types/firebase-admin/user-record.ts:69

Interface representing the common properties of a user-enrolled second factor.

Properties

displayName?

readonly optional displayName: string

Defined in: types/firebase-admin/user-record.ts:77

The optional display name of the enrolled second factor.


enrollmentTime?

readonly optional enrollmentTime: string

Defined in: types/firebase-admin/user-record.ts:87

The optional date the second factor was enrolled, formatted as a UTC string.


factorId

readonly factorId: string

Defined in: types/firebase-admin/user-record.ts:83

The type identifier of the second factor. For SMS second factors, this is phone. For TOTP second factors, this is totp.


uid

readonly uid: string

Defined in: types/firebase-admin/user-record.ts:73

The ID of the enrolled second factor. This ID is unique to the user.

Methods

toJSON()

toJSON(): object

Defined in: types/firebase-admin/user-record.ts:93

Returns a JSON-serializable representation of this object.

Returns

object

A JSON-serializable representation of this object.