X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FauthGoogle%2Findex.js;h=9458b5cd8f9ea7d82d42d5273f13bd87e3f803d1;hb=3fce1ec9764180e4538143b803242af33377ccc4;hp=6d8aaffd3f7be3251305a98bd438d5b7b71232c6;hpb=bc74370e54ee193dccc81d92e42005d458c8ae66;p=motion2.git diff --git a/server/api/authGoogle/index.js b/server/api/authGoogle/index.js index 6d8aaff..9458b5c 100644 --- a/server/api/authGoogle/index.js +++ b/server/api/authGoogle/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8d53=['passport','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','/callback','callback','setTokenCookie','exports','express'];(function(_0x8beec4,_0x33f4c7){var _0x376f14=function(_0x3c5d9b){while(--_0x3c5d9b){_0x8beec4['push'](_0x8beec4['shift']());}};_0x376f14(++_0x33f4c7);}(_0x8d53,0x1c2));var _0x38d5=function(_0x72e9dd,_0x34b28e){_0x72e9dd=_0x72e9dd-0x0;var _0x11e337=_0x8d53[_0x72e9dd];return _0x11e337;};'use strict';var express=require(_0x38d5('0x0'));var passport=require(_0x38d5('0x1'));var router=express['Router']();var controller=require(_0x38d5('0x2'));var userController=require(_0x38d5('0x3'));var authService=require(_0x38d5('0x4'));router[_0x38d5('0x5')]('/',controller[_0x38d5('0x6')]);router[_0x38d5('0x5')](_0x38d5('0x7'),controller[_0x38d5('0x8')],authService['isMiddleware'],userController[_0x38d5('0x6')],authService[_0x38d5('0x9')]);module[_0x38d5('0xa')]=router; \ No newline at end of file +var _0xd0e0=['Router','../user/user.controller.js','../../components/auth/service','get','/callback','callback','isMiddleware','express'];(function(_0x149297,_0x413e4f){var _0x2d80f6=function(_0x396b24){while(--_0x396b24){_0x149297['push'](_0x149297['shift']());}};_0x2d80f6(++_0x413e4f);}(_0xd0e0,0xa7));var _0x0d0e=function(_0x197652,_0xdfd09a){_0x197652=_0x197652-0x0;var _0x299b87=_0xd0e0[_0x197652];return _0x299b87;};'use strict';var express=require(_0x0d0e('0x0'));var passport=require('passport');var router=express[_0x0d0e('0x1')]();var controller=require('./authGoogle.controller');var userController=require(_0x0d0e('0x2'));var authService=require(_0x0d0e('0x3'));router[_0x0d0e('0x4')]('/',controller['login']);router[_0x0d0e('0x4')](_0x0d0e('0x5'),controller[_0x0d0e('0x6')],authService[_0x0d0e('0x7')],userController['login'],authService['setTokenCookie']);module['exports']=router; \ No newline at end of file