MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / generateAuthSecret

Function generateAuthSecret

packages/server/src/utils/index.ts:1677–1679  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1675 * Used for auth secrets only; encryption key remains 24 bytes.
1676 */
1677export const generateAuthSecret = (): string => {
1678 return randomBytes(32).toString('base64')
1679}
1680
1681export interface GetOrCreateStoredSecretOptions {
1682 envKey: string

Callers 1

getOrCreateStoredSecretFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected