MCPcopy
hub / github.com/anse-app/chatgpt-demo / AuthPayload

Interface AuthPayload

src/utils/auth.ts:2–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { sha256 } from 'js-sha256'
2interface AuthPayload {
3 t: number
4 m: string
5}
6
7async function digestMessage(message: string) {
8 if (typeof crypto !== 'undefined' && crypto?.subtle?.digest) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected