import { type AuthorisationTokenScheme } from "https://deno.land/x/willow@0.2.1/mod.universal.ts";
Configures the types of StaticToken
and DynamicToken
for the Willow General Purpose Sync Protocol.
definition: { recomposeAuthToken: (staticToken: StaticToken, dynamicToken: DynamicToken) => AuthorisationToken; decomposeAuthToken: (authToken: AuthorisationToken) => [StaticToken, DynamicToken]; encodings: { staticToken: EncodingScheme<StaticToken>; dynamicToken: EncodingScheme<DynamicToken>; }; }