Overview
The SDK exposes one namespace per area. Each namespace is a property of the client your application holds after client.session.signIn(), such as client.objects or client.domains. create and SealdHealthcare exist before your application chooses a tenant.
| Area | Namespace | Guide | Reference |
|---|---|---|---|
| Entry and enrollment | create, SealdHealthcare, SealdHealthcare.enroll | Enroll a device | Seald Healthcare, Enrollment |
| Adapters | Adapters | Adapters | Adapters |
| Client | Client | Sessions | Client |
| Session | client.session | Sessions | session |
| Objects | client.objects | Open records and files | objects |
| Folders | client.folders | List and search | folders |
| Key domains | client.domains | Share | domains |
| Holds | client.holds | Legal holds | holds |
| Worklist | client.worklist | Worklist and events | worklist |
| Offline | client.offline | Work offline | offline |
| People, devices and roles | client.people | People, devices and roles | people |
| Policies | client.policies | Policies | policies |
| Datasets | client.datasets | Datasets | datasets |
| Backup key and custodians | client.backupKey | Backup key and custodians | backupKey |
| Break-glass recovery | client.recovery | Break-glass recovery | recovery |
| Evidence and audit | client.evidence, SealdHealthcare.verifyPack | Evidence and audit | evidence |
| Support access | client.support | Support access | support |
Three rules hold across the whole surface.
A decision is a value, never an error. Every call the tenant’s policies decide returns a Decided<T>, with one of three outcomes:
- allow, with what was asked for
- deny, with a reason
- challenge, with a fresh multi-factor sign-in
Your application never sees a policy or a rule, only the outcome. See Access decisions.
An error is a fault or a state, never a policy outcome. Causes include:
- the device is locked
- no session is open
- this device was revoked
- the release is below the tenant’s floor
- the Seald Healthcare Cloud cannot be reached
Each SealdHealthcareError carries a fixed code and a retryable flag. retryable says whether the same call may succeed later on its own. See The trust model.
Plaintext exists only in the object that open returns. Call close() to discard it and every key of that open. You cannot store anything the SDK returns and open it again later. No key remains to do it with. See Plaintext lifetime.