Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
6
import
{ cookiesName, DEFAULT_MAX_AGE } from
'./constraints'
;
7
8
const
now = () => (Date.now() / 1000) | 0;
9
10
/** Issues a JWT. By default, the JWT is encrypted using
"A256GCM"
. */
11
async
function
encode(user: any) {
Callers
1
encode
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected