Auth

Authentication model for DocSync

Authentication

DocSync uses a simple authentication model.

const client = new DocSyncClient({
  server: {
    url: "http://localhost:8080",
    auth: { getToken: async () => await fetchAuthToken() },
  },
});

Authorization

On this page

Edit on GitHub