A standalone authentication system that uses the browser's Web Crypto API to create an identity based on a RSA key-pair.
NOTE: This uses a Fission server to register an account (DID).
Check out the
base auth implementations if
you want to build something without the Fission infrastructure.
Generated using TypeDoc
Predefined auth configurations.
This component goes hand in hand with the "reference" and "depot" components. The "auth" component registers a DID and the reference looks it up. The reference component also manages the "data root", the pointer to an account's entire filesystem. The depot component is responsible for getting data to and from the other side.
For example, using the Fission architecture, when a data root is updated on the Fission server, the server fetches the data from the depot in your app.
So if you want to build a service independent of Fission's infrastructure, you will need to write your own reference and depot implementations (see source code).
NOTE: If you're using a non-default component, you'll want to pass that in here as a parameter as well. Dependencies: crypto, manners, reference, storage.