X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FauthGoogle%2Findex.js;h=5ab27a9f547e3a8a8569deec907d8a8ea8603116;hb=63de0c196865c5c3d79c791df925d2ec34a0ad56;hp=1642cc90a28c321ccf89bf7baac756ab67ceccfc;hpb=262e7062005b3f571634c4983ecdb7eac829efe8;p=motion2.git diff --git a/server/api/authGoogle/index.js b/server/api/authGoogle/index.js index 1642cc9..5ab27a9 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 _0xb63f=['exports','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','/callback','callback'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xb63f,0xa3));var _0xfb63=function(_0x12fc8d,_0x19ee33){_0x12fc8d=_0x12fc8d-0x0;var _0x3f9d04=_0xb63f[_0x12fc8d];return _0x3f9d04;};'use strict';var express=require('express');var passport=require('passport');var router=express[_0xfb63('0x0')]();var controller=require(_0xfb63('0x1'));var userController=require(_0xfb63('0x2'));var authService=require(_0xfb63('0x3'));router[_0xfb63('0x4')]('/',controller[_0xfb63('0x5')]);router[_0xfb63('0x4')](_0xfb63('0x6'),controller[_0xfb63('0x7')],authService['isMiddleware'],userController[_0xfb63('0x5')],authService['setTokenCookie']);module[_0xfb63('0x8')]=router; \ No newline at end of file +var _0xc678=['/callback','isMiddleware','setTokenCookie','exports','Router','./authGoogle.controller','../user/user.controller.js','get','login'];(function(_0x1f36bb,_0x8af718){var _0xaf97fa=function(_0xeca489){while(--_0xeca489){_0x1f36bb['push'](_0x1f36bb['shift']());}};_0xaf97fa(++_0x8af718);}(_0xc678,0x1b4));var _0x8c67=function(_0x173b2f,_0x5d153a){_0x173b2f=_0x173b2f-0x0;var _0xa39407=_0xc678[_0x173b2f];return _0xa39407;};'use strict';var express=require('express');var passport=require('passport');var router=express[_0x8c67('0x0')]();var controller=require(_0x8c67('0x1'));var userController=require(_0x8c67('0x2'));var authService=require('../../components/auth/service');router[_0x8c67('0x3')]('/',controller[_0x8c67('0x4')]);router[_0x8c67('0x3')](_0x8c67('0x5'),controller['callback'],authService[_0x8c67('0x6')],userController['login'],authService[_0x8c67('0x7')]);module[_0x8c67('0x8')]=router; \ No newline at end of file