GetTenantResult constructor

const GetTenantResult({
  1. required bool allowPasswordSignup,
  2. required bool autodeleteAnonymousUsers,
  3. required GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigResponse client,
  4. required bool disableAuth,
  5. required String displayName,
  6. required GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigResponse emailPrivacyConfig,
  7. required bool enableAnonymousUser,
  8. required bool enableEmailLinkSignin,
  9. required GoogleCloudIdentitytoolkitAdminV2HashConfigResponse hashConfig,
  10. required GoogleCloudIdentitytoolkitAdminV2InheritanceResponse inheritance,
  11. required GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigResponse mfaConfig,
  12. required GoogleCloudIdentitytoolkitAdminV2MonitoringConfigResponse monitoring,
  13. required String name,
  14. required GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigResponse passwordPolicyConfig,
  15. required GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigResponse recaptchaConfig,
  16. required GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigResponse smsRegionConfig,
  17. required Map<String, String> testPhoneNumbers,
})

Creates a new GetTenantResult. allowPasswordSignup Whether to allow email/password user authentication. autodeleteAnonymousUsers Whether anonymous users will be auto-deleted after a period of 30 days. client Options related to how clients making requests on behalf of a project should be configured. disableAuth Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users. displayName Display name of the tenant. emailPrivacyConfig Configuration for settings related to email privacy and public visibility. enableAnonymousUser Whether to enable anonymous user authentication. enableEmailLinkSignin Whether to enable email link user authentication. hashConfig Hash config information of a tenant for display on Pantheon. This can only be displayed on Pantheon to avoid the sensitive information to get accidentally leaked. Only returned in GetTenant response to restrict reading of this information. Requires firebaseauth.configs.getHashConfig permission on the agent project for returning this field. inheritance Specify the settings that the tenant could inherit. mfaConfig The tenant-level configuration of MFA options. monitoring Configuration related to monitoring project activity. name Resource name of a tenant. For example: "projects/{project-id}/tenants/{tenant-id}" passwordPolicyConfig The tenant-level password policy config recaptchaConfig The tenant-level reCAPTCHA config. smsRegionConfig Configures which regions are enabled for SMS verification code sending. testPhoneNumbers A map of pairs that can be used for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/) and a maximum of 10 pairs can be added (error will be thrown once exceeded).

Implementation

const GetTenantResult({
  required this.allowPasswordSignup,
  required this.autodeleteAnonymousUsers,
  required this.client,
  required this.disableAuth,
  required this.displayName,
  required this.emailPrivacyConfig,
  required this.enableAnonymousUser,
  required this.enableEmailLinkSignin,
  required this.hashConfig,
  required this.inheritance,
  required this.mfaConfig,
  required this.monitoring,
  required this.name,
  required this.passwordPolicyConfig,
  required this.recaptchaConfig,
  required this.smsRegionConfig,
  required this.testPhoneNumbers,
});