ProjectConfig class

Represents a project configuration.

Signature:

export declare class ProjectConfig 

Properties

Property Modifiers Type Description
emailPrivacyConfig EmailPrivacyConfig The email privacy configuration for the project
multiFactorConfig MultiFactorConfig | undefined The multi-factor auth configuration.
passwordPolicyConfig PasswordPolicyConfig The password policy configuration for the project
recaptchaConfig RecaptchaConfig | undefined The reCAPTCHA configuration.
smsRegionConfig SmsRegionConfig The SMS Regions Config for the project. Configures the regions where users are allowed to send verification SMS. This is based on the calling code of the destination phone number.

Methods

Method Modifiers Description
toJSON() Returns a JSON-serializable representation of this object.

ProjectConfig.emailPrivacyConfig

The email privacy configuration for the project

Signature:

readonly emailPrivacyConfig?: EmailPrivacyConfig;

ProjectConfig.multiFactorConfig

The multi-factor auth configuration.

Signature:

get multiFactorConfig(): MultiFactorConfig | undefined;

ProjectConfig.passwordPolicyConfig

The password policy configuration for the project

Signature:

readonly passwordPolicyConfig?: PasswordPolicyConfig;

ProjectConfig.recaptchaConfig

The reCAPTCHA configuration.

Signature:

get recaptchaConfig(): RecaptchaConfig | undefined;

ProjectConfig.smsRegionConfig

The SMS Regions Config for the project. Configures the regions where users are allowed to send verification SMS. This is based on the calling code of the destination phone number.

Signature:

readonly smsRegionConfig?: SmsRegionConfig;

ProjectConfig.toJSON()

Returns a JSON-serializable representation of this object.

Signature:

toJSON(): object;

Returns:

object

A JSON-serializable representation of this object.