"use strict";var cov_168kex5smj=function(){var path="/Users/josh.burman/Projects/braid/dist/server/controllers/authController.js";var hash="9b244a5d65883cecf9b9d7f1e2724f50100deff5";var Function=function(){}.constructor;var global=new Function("return this")();var gcv="__coverage__";var coverageData={path:"/Users/josh.burman/Projects/braid/dist/server/controllers/authController.js",statementMap:{"0":{start:{line:2,column:0},end:{line:2,column:62}},"1":{start:{line:3,column:12},end:{line:3,column:35}},"2":{start:{line:4,column:10},end:{line:4,column:34}},"3":{start:{line:5,column:0},end:{line:12,column:2}},"4":{start:{line:7,column:20},end:{line:7,column:34}},"5":{start:{line:8,column:8},end:{line:10,column:11}}},fnMap:{"0":{name:"(anonymous_0)",decl:{start:{line:6,column:18},end:{line:6,column:19}},loc:{start:{line:6,column:32},end:{line:11,column:5}},line:6}},branchMap:{},s:{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0},f:{"0":0},b:{},_coverageSchema:"43e27e138ebf9cfc5966b082cf9a028302ed4184"};var coverage=global[gcv]||(global[gcv]={});if(coverage[path]&&coverage[path].hash===hash){return coverage[path];}coverageData.hash=hash;return coverage[path]=coverageData;}();cov_168kex5smj.s[0]++;Object.defineProperty(exports,"__esModule",{value:true});const jwt=(cov_168kex5smj.s[1]++,require("jsonwebtoken"));var app=(cov_168kex5smj.s[2]++,require('../config/app'));cov_168kex5smj.s[3]++;module.exports={confirmToken:(req,res)=>{cov_168kex5smj.f[0]++;var token=(cov_168kex5smj.s[4]++,req.body.token);cov_168kex5smj.s[5]++;res.json({response:JSON.stringify(jwt.verify(token,app.secret,app.signOptions))});}};//# sourceMappingURL=authController.js.map