MCPcopy
hub / github.com/auth0/node-jsonwebtoken / sign

Function sign

test/schema.tests.js:14–16  ·  view source on GitHub ↗
(options, secretOrPrivateKey)

Source from the content-addressed store, hash-verified

12 var cert_secp521r1_priv = fs.readFileSync(__dirname + '/secp521r1-private.pem');
13
14 function sign(options, secretOrPrivateKey) {
15 jwt.sign({foo: 123}, secretOrPrivateKey, options);
16 }
17
18 it('should validate algorithm', function () {
19 expect(function () {

Callers 1

schema.tests.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected