ProjectConfig class

Represents a project configuration.

Signature:

exportdeclareclassProjectConfig

Properties

PropertyModifiersTypeDescription
emailPrivacyConfigEmailPrivacyConfigThe email privacy configuration for the project
mobileLinksConfigMobileLinksConfigThe mobile links configuration for the project
multiFactorConfigMultiFactorConfig | undefinedThe multi-factor auth configuration.
passwordPolicyConfigPasswordPolicyConfigThe password policy configuration for the project
recaptchaConfigRecaptchaConfig | undefinedThe reCAPTCHA configuration.
smsRegionConfigSmsRegionConfigThe 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

MethodModifiersDescription
toJSON()Returns a JSON-serializable representation of this object.

ProjectConfig.emailPrivacyConfig

The email privacy configuration for the project

Signature:

readonlyemailPrivacyConfig?:EmailPrivacyConfig;

ProjectConfig.mobileLinksConfig

The mobile links configuration for the project

Signature:

readonlymobileLinksConfig?:MobileLinksConfig;

ProjectConfig.multiFactorConfig

The multi-factor auth configuration.

Signature:

getmultiFactorConfig():MultiFactorConfig|undefined;

ProjectConfig.passwordPolicyConfig

The password policy configuration for the project

Signature:

readonlypasswordPolicyConfig?:PasswordPolicyConfig;

ProjectConfig.recaptchaConfig

The reCAPTCHA configuration.

Signature:

getrecaptchaConfig():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:

readonlysmsRegionConfig?:SmsRegionConfig;

ProjectConfig.toJSON()

Returns a JSON-serializable representation of this object.

Signature:

toJSON():object;

Returns:

object

A JSON-serializable representation of this object.

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 2025-02-06 UTC.