MCPcopy Index your code
hub / github.com/simstudioai/sim / deploymentAuthCookieName

Function deploymentAuthCookieName

apps/sim/lib/core/security/deployment.ts:85–87  ·  view source on GitHub ↗
(cookiePrefix: DeploymentAuthKind, id: string)

Source from the content-addressed store, hash-verified

83
84/** Canonical auth cookie name for a deployed resource (`{kind}_auth_{id}`). */
85export function deploymentAuthCookieName(cookiePrefix: DeploymentAuthKind, id: string): string {
86 return `${cookiePrefix}_auth_${id}`
87}
88
89/**
90 * Sets an authentication cookie for a deployment

Callers 3

validateDeploymentAuthFunction · 0.90
renderAuthGateFunction · 0.90
setDeploymentAuthCookieFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected