SdkOptions class

Implemented types

Constructors

SdkOptions({EncryptedFieldsConfiguration encryptedFields = const EncryptedFieldsConfiguration(), bool saltPasswordWithApplicationId = true, bool useHierarchicalDataOwners = true, bool createTransferKeys = true, bool lenientJson = false})
const
SdkOptions.fromJSON(Map<String, dynamic> data)
factory

Properties

createTransferKeys bool
If true (default) the sdk will automatically create the transfer keys for the current user if a new keypair is created.
final
encryptedFields EncryptedFieldsConfiguration
Configure which fields of entities should be encrypted
final
hashCode int
The hash code for this object.
no setterinherited
lenientJson bool
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
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
useHierarchicalDataOwners bool
Has only effect when logging in as an hcp user.
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(SdkOptions value) Map<String, dynamic>