UNPKG

passport-trusted-header

Version:
16 lines (14 loc) 255 B
"use strict"; exports.dummyReq = function(authorized, cert, headers) { return { client: { authorized: authorized }, connection: { getPeerCertificate: function() { return cert; } }, headers: headers }; };