GetTenantResult class

Result data returned by getTenant.

Constructors

GetTenantResult({required bool allowPasswordSignup, required bool autodeleteAnonymousUsers, required GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigResponse client, required bool disableAuth, required String displayName, required GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigResponse emailPrivacyConfig, required bool enableAnonymousUser, required bool enableEmailLinkSignin, required GoogleCloudIdentitytoolkitAdminV2HashConfigResponse hashConfig, required GoogleCloudIdentitytoolkitAdminV2InheritanceResponse inheritance, required GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigResponse mfaConfig, required GoogleCloudIdentitytoolkitAdminV2MonitoringConfigResponse monitoring, required String name, required GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigResponse passwordPolicyConfig, required GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigResponse recaptchaConfig, required GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigResponse smsRegionConfig, 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).
const
GetTenantResult.fromMap(Map<String, dynamic> map)
factory

Properties

allowPasswordSignup → bool
Whether to allow email/password user authentication.
final
autodeleteAnonymousUsers → bool
Whether anonymous users will be auto-deleted after a period of 30 days.
final
client → GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfigResponse
Options related to how clients making requests on behalf of a project should be configured.
final
disableAuth → bool
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.
final
displayName → String
Display name of the tenant.
final
emailPrivacyConfig → GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfigResponse
Configuration for settings related to email privacy and public visibility.
final
enableAnonymousUser → bool
Whether to enable anonymous user authentication.
final
enableEmailLinkSignin → bool
Whether to enable email link user authentication.
final
hashCode → int
The hash code for this object.
no setterinherited
hashConfig → GoogleCloudIdentitytoolkitAdminV2HashConfigResponse
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.
final
inheritance → GoogleCloudIdentitytoolkitAdminV2InheritanceResponse
Specify the settings that the tenant could inherit.
final
mfaConfig → GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfigResponse
The tenant-level configuration of MFA options.
final
monitoring → GoogleCloudIdentitytoolkitAdminV2MonitoringConfigResponse
Configuration related to monitoring project activity.
final
name → String
Resource name of a tenant. For example: "projects/{project-id}/tenants/{tenant-id}"
final
passwordPolicyConfig → GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfigResponse
The tenant-level password policy config
final
recaptchaConfig → GoogleCloudIdentitytoolkitAdminV2RecaptchaConfigResponse
The tenant-level reCAPTCHA config.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
smsRegionConfig → GoogleCloudIdentitytoolkitAdminV2SmsRegionConfigResponse
Configures which regions are enabled for SMS verification code sending.
final
testPhoneNumbers → Map<String, String>
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).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited