UpdateInstanceRequest class

Constructors

UpdateInstanceRequest.new({bool? testMode, bool? hibp, bool? enhancedEmailDeliverability, String? supportEmail, String? clerkJsVersion, String? developmentOrigin, List<String> allowedOrigins = const [], bool? cookielessDev, bool? urlBasedSessionSyncing})
Returns a new UpdateInstanceRequest instance.

Properties

allowedOrigins List<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.
getter/setter pair
clerkJsVersion String?
getter/setter pair
cookielessDev bool?
Whether the instance should operate in cookieless development mode (i.e. without third-party cookies). Deprecated: Please use url_based_session_syncing instead.
getter/setter pair
developmentOrigin String?
getter/setter pair
enhancedEmailDeliverability 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.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hibp bool?
Whether the instance should be using the HIBP service to check passwords for breaches
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportEmail String?
getter/setter pair
testMode bool?
Toggles test mode for this instance, allowing the use of test email addresses and phone numbers. Defaults to true for development instances.
getter/setter pair
urlBasedSessionSyncing bool?
Whether the instance should use URL-based session syncing in development mode (i.e. without third-party cookies).
getter/setter pair

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) UpdateInstanceRequest?
Returns a new UpdateInstanceRequest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<UpdateInstanceRequest>
mapFromJson(dynamic json) Map<String, UpdateInstanceRequest>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<UpdateInstanceRequest>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.