BasicSdkOptions class

Implemented types

Constructors

BasicSdkOptions.new({EncryptedFieldsConfiguration encryptedFields = const EncryptedFieldsConfiguration(), bool saltPasswordWithApplicationId = true, bool lenientJson = false, GroupSelector? groupSelector})
const

Properties

encryptedFields EncryptedFieldsConfiguration
Configure which fields of entities should be encrypted
final
groupSelector GroupSelector?
An instance of iCure SDK is initialized for working as a specific user in a single group. However, the user credentials may match multiple users in different groups (but at most one per group). If that is the case, this function will be used to pick the actual user for which the sdk will be initialized.
final
hashCode int
The hash code for this object.
no setterinherited
lenientJson bool
If true the SDK will use lenient deserialization of the entities coming from the backend.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saltPasswordWithApplicationId bool
If true (default) the password of the user will be salted together with the application id before sending it to the iCure backend for login or when changing the user password. This is done in addition to the server-side salting of the password before storing them.
final

Methods

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

Operators

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

Static Methods

encode(BasicSdkOptions value) Map<String, dynamic>