MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / makeAccessToken

Function makeAccessToken

src/artifacts/live-share.ts:79–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77
78/** A short, URL-safe, cryptographically-random access token for a private live link. */
79export function makeAccessToken(): string {
80 // 12 bytes → 96 bits of entropy; base64url is compact and paste-safe.
81 return randomBytes(12).toString('base64url');
82}

Callers 2

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected