X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FauthGoogle%2Findex.js;fp=server%2Fapi%2FauthGoogle%2Findex.js;h=11186d3c874d5685dc5450ed002480686f7a7d28;hb=c5ec4f3be0e7f1f893000f685661edf16381041e;hp=25d5e4ad817e55b3ada8e440cc8735e553af76f5;hpb=bb1bc459ff51c9e3d02337b05bd35dbdea7e939d;p=motion2.git diff --git a/server/api/authGoogle/index.js b/server/api/authGoogle/index.js index 25d5e4a..11186d3 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 _0x7c5b=['express','passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','callback','isMiddleware','setTokenCookie'];(function(_0x4be698,_0x4f2da2){var _0x57dd6c=function(_0x2fb3d2){while(--_0x2fb3d2){_0x4be698['push'](_0x4be698['shift']());}};_0x57dd6c(++_0x4f2da2);}(_0x7c5b,0x11e));var _0xb7c5=function(_0x218922,_0xb7bf28){_0x218922=_0x218922-0x0;var _0x430b85=_0x7c5b[_0x218922];return _0x430b85;};'use strict';var express=require(_0xb7c5('0x0'));var passport=require(_0xb7c5('0x1'));var router=express[_0xb7c5('0x2')]();var controller=require(_0xb7c5('0x3'));var userController=require(_0xb7c5('0x4'));var authService=require(_0xb7c5('0x5'));router[_0xb7c5('0x6')]('/',controller[_0xb7c5('0x7')]);router[_0xb7c5('0x6')]('/callback',controller[_0xb7c5('0x8')],authService[_0xb7c5('0x9')],userController[_0xb7c5('0x7')],authService[_0xb7c5('0xa')]);module['exports']=router; \ No newline at end of file +var _0x7f36=['login','setTokenCookie','exports','express','passport','Router','./authGoogle.controller','../user/user.controller.js','get','/callback','callback','isMiddleware'];(function(_0x193375,_0x46a470){var _0x278b3c=function(_0x4a42d6){while(--_0x4a42d6){_0x193375['push'](_0x193375['shift']());}};_0x278b3c(++_0x46a470);}(_0x7f36,0x1bf));var _0x67f3=function(_0x4f8593,_0x40b949){_0x4f8593=_0x4f8593-0x0;var _0x57fcfd=_0x7f36[_0x4f8593];return _0x57fcfd;};'use strict';var express=require(_0x67f3('0x0'));var passport=require(_0x67f3('0x1'));var router=express[_0x67f3('0x2')]();var controller=require(_0x67f3('0x3'));var userController=require(_0x67f3('0x4'));var authService=require('../../components/auth/service');router[_0x67f3('0x5')]('/',controller['login']);router['get'](_0x67f3('0x6'),controller[_0x67f3('0x7')],authService[_0x67f3('0x8')],userController[_0x67f3('0x9')],authService[_0x67f3('0xa')]);module[_0x67f3('0xb')]=router; \ No newline at end of file