Expand description
The single participant type of the shared unlock protocol.
Every client runs exactly one SharedUnlockPeer. A peer syncs its lock state to the peer it
recognizes as its leader and to the peers that sync to it.
A web peer is scoped to the origin it was validated against: it is only ever told about the users whose vault URL is that origin, in either direction.
Structsยง
- Inner
Peer ๐ - Inner implementation of the peer, containing the actual state and logic. The outer
SharedUnlockPeeris a thin wrapper around anArcto allow for shared ownership across async tasks. - Peer
Start Error - Error type for failure to start a shared unlock peer.
- Shared
Unlock Peer - One participant in the shared unlock protocol.
Functionsยง
- spawn ๐