@vansite/ts-sharetribe-flex-sdk
Version:
This is a TypeScript SDK for Sharetribe Flex API. It reduces the complexity of the API and provides a more user-friendly interface.
9 lines (8 loc) • 343 B
TypeScript
/**
* Generates a unique key for storing tokens.
*
* @param clientId - The unique identifier for the client.
* @param namespace - The namespace to organize and scope the key.
* @returns A string combining the namespace, client ID, and a token suffix.
*/
export declare const generateKey: (clientId: string, namespace: string) => string;