UNPKG

@towercg2/server

Version:

The server runtime for the TowerCG2 video graphics system.

6 lines (5 loc) 273 B
export declare type AuthnFunction = (clientId: string, clientSecret: string) => Promise<boolean>; export declare function SinglePassword(plaintext: string): AuthnFunction; export declare function LookupAuth(credentials: { [clientId: string]: string; }): AuthnFunction;