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() },
},
});Authentication model for DocSync
DocSync uses a simple authentication model.
const client = new DocSyncClient({
server: {
url: "http://localhost:8080",
auth: { getToken: async () => await fetchAuthToken() },
},
});