Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

auth

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.

const auth: {
fissionWebCrypto(settings: Configuration & {
disableWnfs?: boolean;
staging?: boolean;
}
): Promise<Auth.Implementation<Components>>;
}
;