MultiFactorProviderConfig interface
Stay organized with collections
Save and categorize content based on your preferences.
Interface representing a multi-factor auth provider configuration. This interface is used for second factor auth providers other than SMS. Currently, only TOTP is supported.
Signature:
export interface MultiFactorProviderConfig
Properties
MultiFactorProviderConfig.state
Indicates whether this multi-factor provider is enabled or disabled.
Signature:
state: MultiFactorConfigState;
MultiFactorProviderConfig.totpProviderConfig
TOTP multi-factor provider config.
Signature:
totpProviderConfig?: TotpMultiFactorProviderConfig;
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.
[null,null,["Last updated 2023-04-06 UTC."],[],[],null,["# MultiFactorProviderConfig interface\n\nInterface representing a multi-factor auth provider configuration. This interface is used for second factor auth providers other than SMS. Currently, only TOTP is supported.\n\n**Signature:** \n\n export interface MultiFactorProviderConfig \n\nProperties\n----------\n\n| Property | Type | Description |\n|----------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|\n| [state](./firebase-admin.auth.multifactorproviderconfig.md#multifactorproviderconfigstate) | [MultiFactorConfigState](./firebase-admin.auth.md#multifactorconfigstate) | Indicates whether this multi-factor provider is enabled or disabled. |\n| [totpProviderConfig](./firebase-admin.auth.multifactorproviderconfig.md#multifactorproviderconfigtotpproviderconfig) | [TotpMultiFactorProviderConfig](./firebase-admin.auth.totpmultifactorproviderconfig.md#totpmultifactorproviderconfig_interface) | TOTP multi-factor provider config. |\n\nMultiFactorProviderConfig.state\n-------------------------------\n\nIndicates whether this multi-factor provider is enabled or disabled.\n\n**Signature:** \n\n state: MultiFactorConfigState;\n\nMultiFactorProviderConfig.totpProviderConfig\n--------------------------------------------\n\nTOTP multi-factor provider config.\n\n**Signature:** \n\n totpProviderConfig?: TotpMultiFactorProviderConfig;"]]