PhoneNumber second factor
These are all methods on the
PhoneNumber class that allow you configure the configuration of a phone number as a second factor for multi-factor authentication (MFA).
function makeDefaultSecondFactor(): Promise<PhoneNumber>;
Marks this phone number as the default second factor for multi-factor authentication (2FA). A user can have exactly one default second factor.
function setReservedForSecondFactor(params: SetReservedForSecondFactorParams): Promise<PhoneNumber>;
Marks this phone number as reserved for multi-factor authentication (2FA) or not.