MultiFactorProviderConfig interface

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

Property Type Description
state MultiFactorConfigState Indicates whether this multi-factor provider is enabled or disabled.
totpProviderConfig TotpMultiFactorProviderConfig TOTP multi-factor provider config.

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;