@jbrowse/plugin-authentication
Version:
JBrowse 2 Authentication
8 lines (7 loc) • 373 B
TypeScript
export declare function fixup(buf: string): string;
export declare function generateChallenge(val: string): Promise<string>;
export declare function processError(text: string, invalidErrorCb: () => void): any;
export declare function processTokenResponse(data: {
refresh_token?: string;
access_token: string;
}, storeRefreshTokenCb: (str: string) => void): string;