MultiFactorSettings class

The multi-factor related user settings.

Signature:

exportdeclareclassMultiFactorSettings

Properties

PropertyModifiersTypeDescription
enrolledFactorsMultiFactorInfo[]List of second factors enrolled with the current user. Currently only phone and TOTP second factors are supported.

Methods

MethodModifiersDescription
toJSON()Returns a JSON-serializable representation of this multi-factor object.

MultiFactorSettings.enrolledFactors

List of second factors enrolled with the current user. Currently only phone and TOTP second factors are supported.

Signature:

enrolledFactors:MultiFactorInfo[];

MultiFactorSettings.toJSON()

Returns a JSON-serializable representation of this multi-factor object.

Signature:

toJSON():object;

Returns:

object

A JSON-serializable representation of this multi-factor object.