@@ -509,14 +509,14 @@ export interface MultiFactorConfig {
509509 factorIds ?: AuthFactorType [ ] ;
510510
511511 /**
512- * A list of multi-factor provider configurations.
512+ * A list of multi-factor provider configurations.
513513 * MFA providers (except phone) indicate whether they're enabled through this field. */
514514 providerConfigs ?: MultiFactorProviderConfig [ ] ;
515515}
516516
517517/**
518- * Interface representing a multi-factor auth provider configuration.
519- * This interface is used for second factor auth providers other than SMS.
518+ * Interface representing a multi-factor auth provider configuration.
519+ * This interface is used for second factor auth providers other than SMS.
520520 * Currently, only TOTP is supported.
521521 */ export interface MultiFactorProviderConfig {
522522 /**
@@ -528,7 +528,7 @@ export interface MultiFactorConfig {
528528}
529529
530530/**
531- * Interface representing configuration settings for TOTP second factor auth.
531+ * Interface representing configuration settings for TOTP second factor auth.
532532 */
533533export interface TotpMultiFactorProviderConfig {
534534 /**
@@ -540,7 +540,7 @@ export interface TotpMultiFactorProviderConfig {
540540/**
541541 * Defines the multi-factor config class used to convert client side MultiFactorConfig
542542 * to a format that is understood by the Auth server.
543- *
543+ *
544544 * @internal
545545 */
546546export class MultiFactorAuthConfig implements MultiFactorConfig {
@@ -555,7 +555,7 @@ export class MultiFactorAuthConfig implements MultiFactorConfig {
555555 */
556556 public readonly factorIds : AuthFactorType [ ] ;
557557 /**
558- * A list of multi-factor provider specific config.
558+ * A list of multi-factor provider specific config.
559559 * New MFA providers (except phone) will indicate enablement/disablement through this field.
560560 */
561561 public readonly providerConfigs : MultiFactorProviderConfig [ ] ;
@@ -1751,7 +1751,7 @@ export interface RecaptchaManagedRule {
17511751}
17521752
17531753/**
1754- * The managed rules for toll fraud provider, containing the enforcement status.
1754+ * The managed rules for toll fraud provider, containing the enforcement status.
17551755 * The toll fraud provider contains all SMS related user flows.
17561756 */
17571757export interface RecaptchaTollFraudManagedRule {
@@ -1814,23 +1814,23 @@ export interface RecaptchaConfig {
18141814 */
18151815 useAccountDefender ?: boolean ;
18161816 /**
1817- * Whether to use the rCE bot score for reCAPTCHA phone provider.
1817+ * Whether to use the rCE bot score for reCAPTCHA phone provider.
18181818 * Can only be true when the phone_enforcement_state is AUDIT or ENFORCE.
18191819 */
18201820 useSmsBotScore ?: boolean ;
18211821 /**
1822- * Whether to use the rCE SMS toll fraud protection risk score for reCAPTCHA phone provider.
1822+ * Whether to use the rCE SMS toll fraud protection risk score for reCAPTCHA phone provider.
18231823 * Can only be true when the phone_enforcement_state is AUDIT or ENFORCE.
18241824 */
18251825 useSmsTollFraudProtection ?: boolean ;
18261826 /**
1827- * The managed rules for toll fraud provider, containing the enforcement status.
1827+ * The managed rules for toll fraud provider, containing the enforcement status.
18281828 * The toll fraud provider contains all SMS related user flows.
18291829 */
18301830 smsTollFraudManagedRules ?: RecaptchaTollFraudManagedRule [ ] ;
18311831}
18321832
1833- /**
1833+ /**
18341834 * Server side recaptcha configuration.
18351835 */
18361836export interface RecaptchaAuthServerConfig {
@@ -1847,7 +1847,7 @@ export interface RecaptchaAuthServerConfig {
18471847/**
18481848 * Defines the recaptcha config class used to convert client side RecaptchaConfig
18491849 * to a format that is understood by the Auth server.
1850- *
1850+ *
18511851 * @internal
18521852 */
18531853export class RecaptchaAuthConfig implements RecaptchaConfig {
@@ -1860,7 +1860,7 @@ export class RecaptchaAuthConfig implements RecaptchaConfig {
18601860 public readonly useSmsTollFraudProtection ?: boolean ;
18611861 public readonly smsTollFraudManagedRules ?: RecaptchaTollFraudManagedRule [ ] ;
18621862
1863-
1863+
18641864 /**
18651865 * The RecaptchaAuthConfig constructor.
18661866 *
@@ -1873,17 +1873,17 @@ export class RecaptchaAuthConfig implements RecaptchaConfig {
18731873 const filteredResponse = Object . fromEntries (
18741874 Object . entries ( response ) . filter ( ( [ , value ] ) => value !== undefined )
18751875 ) ;
1876-
1876+
18771877 // Explicitly map the 'tollFraudManagedRules' to 'smsTollFraudManagedRules'
18781878 if ( filteredResponse . tollFraudManagedRules !== undefined ) {
18791879 this . smsTollFraudManagedRules = filteredResponse . tollFraudManagedRules ;
18801880 delete filteredResponse . tollFraudManagedRules ; // Remove it if necessary
18811881 }
1882-
1882+
18831883 // Assign the remaining properties directly
18841884 Object . assign ( this , filteredResponse ) ;
1885- }
1886-
1885+ }
1886+
18871887 /**
18881888 * Builds a server request object from the client-side RecaptchaConfig.
18891889 * Converts client-side fields to their server-side equivalents.
@@ -2119,8 +2119,8 @@ export class RecaptchaAuthConfig implements RecaptchaConfig {
21192119 }
21202120}
21212121
2122- /**
2123- * A password policy configuration for a project or tenant
2122+ /**
2123+ * A password policy configuration for a project or tenant
21242124*/
21252125export interface PasswordPolicyConfig {
21262126 /**
@@ -2229,7 +2229,7 @@ export interface CustomStrengthOptionsConfig {
22292229/**
22302230 * Defines the password policy config class used to convert client side PasswordPolicyConfig
22312231 * to a format that is understood by the Auth server.
2232- *
2232+ *
22332233 * @internal
22342234 */
22352235export class PasswordPolicyAuthConfig implements PasswordPolicyConfig {
@@ -2336,7 +2336,7 @@ export class PasswordPolicyAuthConfig implements PasswordPolicyConfig {
23362336 '"PasswordPolicyConfig.enforcementState" must be either "ENFORCE" or "OFF".' ,
23372337 ) ;
23382338 }
2339-
2339+
23402340 if ( typeof options . forceUpgradeOnSignin !== 'undefined' ) {
23412341 if ( ! validator . isBoolean ( options . forceUpgradeOnSignin ) ) {
23422342 throw new FirebaseAuthError (
@@ -2478,7 +2478,7 @@ export class PasswordPolicyAuthConfig implements PasswordPolicyConfig {
24782478 }
24792479}
24802480
2481- /**
2481+ /**
24822482 * Server side password policy configuration.
24832483 */
24842484export interface PasswordPolicyAuthServerConfig {
@@ -2488,14 +2488,14 @@ export interface PasswordPolicyAuthServerConfig {
24882488}
24892489
24902490/**
2491- * Server side password policy versions configuration.
2491+ * Server side password policy versions configuration.
24922492 */
24932493export interface PasswordPolicyVersionsAuthServerConfig {
24942494 customStrengthOptions ?: CustomStrengthOptionsAuthServerConfig ;
24952495}
24962496
24972497/**
2498- * Server side password policy constraints configuration.
2498+ * Server side password policy constraints configuration.
24992499 */
25002500export interface CustomStrengthOptionsAuthServerConfig {
25012501 containsLowercaseCharacter ?: boolean ;
0 commit comments