pub struct CreateTenantRequest {Show 13 fields
pub display_name: Option<String>,
pub allow_password_signup: Option<bool>,
pub enable_email_link_signin: Option<bool>,
pub disable_auth: Option<bool>,
pub enable_anonymous_user: Option<bool>,
pub test_phone_numbers: Option<HashMap<String, String>>,
pub mfa_config: Option<Value>,
pub recaptcha_config: Option<Value>,
pub sms_region_config: Option<Value>,
pub monitoring: Option<Value>,
pub password_policy_config: Option<Value>,
pub email_privacy_config: Option<Value>,
pub client: Option<Value>,
}Expand description
Request to create a new tenant.
Fields§
§display_name: Option<String>The display name of the tenant.
allow_password_signup: Option<bool>Whether to allow email/password user authentication.
enable_email_link_signin: Option<bool>Whether to enable email link user authentication.
disable_auth: Option<bool>Whether authentication is disabled for the tenant.
enable_anonymous_user: Option<bool>Whether to enable anonymous user authentication.
test_phone_numbers: Option<HashMap<String, String>>Map of test phone numbers and their fake verification codes.
mfa_config: Option<Value>§recaptcha_config: Option<Value>§sms_region_config: Option<Value>§monitoring: Option<Value>§password_policy_config: Option<Value>§email_privacy_config: Option<Value>§client: Option<Value>Trait Implementations§
Source§impl Debug for CreateTenantRequest
impl Debug for CreateTenantRequest
Source§impl Default for CreateTenantRequest
impl Default for CreateTenantRequest
Source§fn default() -> CreateTenantRequest
fn default() -> CreateTenantRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateTenantRequest
impl RefUnwindSafe for CreateTenantRequest
impl Send for CreateTenantRequest
impl Sync for CreateTenantRequest
impl Unpin for CreateTenantRequest
impl UnwindSafe for CreateTenantRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more