Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
log.info("We did pass Req back to Callback")
verify(req, token, done);
} else {
log.info("We did not pass Req back to Callback")
verify(token, done);
}
}
});
}
var opts = {};
opts.passReqToCallback = true;
log.info('Req: ' + options.passReqToCallback);
BearerStrategy.call(this, options, jwtVerify);
this.name = 'oidc-bearer'; // Me, a name I call myself.
}