MCPcopy Create free account
hub / github.com/code100x/cms / user

Interface user

src/lib/auth.ts:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35interface user {
36 id: string;
37 name: string;
38 email: string;
39 token: string;
40}
41
42const generateJWT = async (payload: JWTPayload) => {
43 const secret = process.env.JWT_SECRET || 'secret';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected