MCPcopy
hub / github.com/strongloop/loopback / setAccessToken

Function setAccessToken

test/replication.rest.test.js:665–670  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

663 }
664
665 function setAccessToken(token) {
666 clientApp.dataSources.remote.connector.remotes.auth = {
667 bearer: new Buffer(token).toString('base64'),
668 sendImmediately: true,
669 };
670 }
671
672 function expectHttpError(code, done) {
673 return function(err) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…