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:

export interface MultiFactorConfig 

Properties

Property Type Description
factorIds AuthFactorType[] The list of identifiers for enabled second factors. Currently only ‘phone’ is supported.
providerConfigs MultiFactorProviderConfig[] A list of multi-factor provider configurations. MFA providers (except phone) indicate whether they're enabled through this field.
state MultiFactorConfigState The 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[];

The multi-factor config state.

Signature:

state: MultiFactorConfigState;

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

Last updated 2023-04-06 UTC.