MultiFactorConfig interface

Interface representing a multi-factor configuration. This can be used to define whether multi-factor authentication is enabled or disabled and the list of second factor challenges that are supported.

Signature:

exportinterfaceMultiFactorConfig

Properties

PropertyTypeDescription
factorIdsAuthFactorType[]The list of identifiers for enabled second factors. Currently only ‘phone’ is supported.
providerConfigsMultiFactorProviderConfig[]A list of multi-factor provider configurations. MFA providers (except phone) indicate whether they're enabled through this field.
stateMultiFactorConfigStateThe multi-factor config state.

MultiFactorConfig.factorIds

The list of identifiers for enabled second factors. Currently only ‘phone’ is supported.

Signature:

factorIds?:AuthFactorType[];

MultiFactorConfig.providerConfigs

A list of multi-factor provider configurations. MFA providers (except phone) indicate whether they're enabled through this field.

Signature:

providerConfigs?:MultiFactorProviderConfig[];

MultiFactorConfig.state

The multi-factor config state.

Signature:

state:MultiFactorConfigState;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-04-06 UTC.