Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/mod.browser.ts>AuthorisationTokenScheme

Exploring Willow in the most efficient and sound programming language
Go to Latest
type alias AuthorisationTokenScheme
import { type AuthorisationTokenScheme } from "https://deno.land/x/willow@0.2.1/mod.browser.ts";

Configures the types of StaticToken and DynamicToken for the Willow General Purpose Sync Protocol.

Type Parameters

AuthorisationToken
StaticToken
DynamicToken
definition: { recomposeAuthToken: (staticToken: StaticToken, dynamicToken: DynamicToken) => AuthorisationToken; decomposeAuthToken: (authToken: AuthorisationToken) => [StaticToken, DynamicToken]; encodings: { staticToken: EncodingScheme<StaticToken>; dynamicToken: EncodingScheme<DynamicToken>; }; }