Skip to main content
100%

automerge-auth strawman

✓ Published0🌍 Public
HHerbCaudill
Last edited May 24, 2024
Created on May 23, 2024

This example outlines a strawman architecture for **automerge-auth**, a proposed successor to the `localfirst/auth` library, by defining key TypeScript classes and workflows in a markdown document. It shows how a `Group` class unifies users, devices, and subgroups into a single transitive membership model, while a `Connection` class provides point-to-point encrypted channels and an `AuthProvider` integrates with `automerge-repo` via network and storage adapters. The sketch maps desirable features like untrusted sync servers and flexible sharing against existing lf/auth patterns, using diagrams and pseudocode from the gist.

AI-generated description

Similar vizzes