MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / now

Function now

packages/auth-server/src/server/tokens.ts:8–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import { cookiesName, DEFAULT_MAX_AGE } from './constraints';
7
8const now = () => (Date.now() / 1000) | 0;
9
10/** Issues a JWT. By default, the JWT is encrypted using "A256GCM". */
11async function encode(user: any) {

Callers 1

encodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected