(object: Object, options?: jwt.SignOptions | undefined)
| 4 | const privateKey = config.get("privateKey") as string; |
| 5 | |
| 6 | export function sign(object: Object, options?: jwt.SignOptions | undefined) { |
| 7 | return jwt.sign(object, privateKey, options); |
| 8 | } |
| 9 | |
| 10 | export function decode(token: string) { |
| 11 | try { |
no outgoing calls
no test coverage detected