MCPcopy Index your code
hub / github.com/auth0/node-jsonwebtoken / loadKey

Function loadKey

test/jwt.asymmetric_signing.tests.js:10–12  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

8const ms = require('ms');
9
10function loadKey(filename) {
11 return fs.readFileSync(path.join(__dirname, filename));
12}
13
14const algorithms = {
15 RS256: {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected