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