9 lines
359 B
TypeScript
9 lines
359 B
TypeScript
export declare function generateCompanyApiKey(): {
|
|
rawKey: string;
|
|
prefix: string;
|
|
keyHash: string;
|
|
};
|
|
export declare function getApiKeyPrefix(rawKey: string): string | null;
|
|
export declare function hashApiKey(rawKey: string): string;
|
|
export declare function timingSafeEqualHex(a: string, b: string): boolean;
|
|
//# sourceMappingURL=apiKeys.d.ts.map
|