MCPcopy
hub / github.com/diegohaz/rest / signSync

Function signSync

generators/app/templates/services/jwt/index.js:11–11  ·  view source on GitHub ↗
(id, options)

Source from the content-addressed store, hash-verified

9 method({ id }, jwtSecret, options)
10
11export const signSync = (id, options) => sign(id, options, jwt.sign)
12
13export const verify = (token) => jwtVerify(token, jwtSecret)

Callers 2

index.test.jsFile · 0.90
index.test.jsFile · 0.85

Calls 1

signFunction · 0.85

Tested by

no test coverage detected