MedFabric.Store.DeviceSessions (mf_exam v0.1.0)

Copy Markdown View Source

Encounter-scoped device grants, transport generations and immutable source bindings.

Summary

Functions

abort(tx, why)

@spec abort(DBConnection.t(), term()) :: no_return()

authenticate(token)

authorize(enc, device, profile, site, actor)

disconnected(bind)

enroll(id, token)

fact(tx, id, kind, body)

facts(tx, id)

hash(bytes)

heartbeat(bind)

nonce()

reserve(device, enc, id, profile, boot, descriptors)

rows(tx, sql, args)

scoped(bind, fun, mode \\ :share)