pub struct UpdateInstanceRequest {
pub test_mode: Option<Option<bool>>,
pub hibp: Option<Option<bool>>,
pub enhanced_email_deliverability: Option<Option<bool>>,
pub support_email: Option<Option<String>>,
pub clerk_js_version: Option<Option<String>>,
pub development_origin: Option<Option<String>>,
pub allowed_origins: Option<Vec<String>>,
pub cookieless_dev: Option<bool>,
pub url_based_session_syncing: Option<bool>,
}Fields§
§test_mode: Option<Option<bool>>Toggles test mode for this instance, allowing the use of test email addresses and phone numbers. Defaults to true for development instances.
hibp: Option<Option<bool>>Whether the instance should be using the HIBP service to check passwords for breaches
enhanced_email_deliverability: Option<Option<bool>>The "enhanced_email_deliverability" feature will send emails from "verifications@clerk.dev" instead of your domain. This can be helpful if you do not have a high domain reputation.
support_email: Option<Option<String>>§clerk_js_version: Option<Option<String>>§development_origin: Option<Option<String>>§allowed_origins: Option<Vec<String>>For browser-like stacks such as browser extensions, Electron, or Capacitor.js the instance allowed origins need to be updated with the request origin value. For Chrome extensions popup, background, or service worker pages the origin is chrome-extension://extension_uiid. For Electron apps the default origin is http://localhost:3000. For Capacitor, the origin is capacitor://localhost.
Whether the instance should operate in cookieless development mode (i.e. without third-party cookies). Deprecated: Please use url_based_session_syncing instead.
url_based_session_syncing: Option<bool>Whether the instance should use URL-based session syncing in development mode (i.e. without third-party cookies).
Implementations§
Source§impl UpdateInstanceRequest
impl UpdateInstanceRequest
pub fn new() -> UpdateInstanceRequest
Trait Implementations§
Source§impl Clone for UpdateInstanceRequest
impl Clone for UpdateInstanceRequest
Source§fn clone(&self) -> UpdateInstanceRequest
fn clone(&self) -> UpdateInstanceRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more