Built motion from commit 9d7072cc.|2.5.39
[motion2.git] / server / api / authGoogle / index.js
index e9a64a4..9458b5c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0d4e=['../user/user.controller.js','../../components/auth/service','get','login','callback','isMiddleware','setTokenCookie','express','passport','Router','./authGoogle.controller'];(function(_0x29d915,_0x54a040){var _0x160f86=function(_0x237dfa){while(--_0x237dfa){_0x29d915['push'](_0x29d915['shift']());}};_0x160f86(++_0x54a040);}(_0x0d4e,0x1ca));var _0xe0d4=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0x0d4e[_0x1cc8fe];return _0x230054;};'use strict';var express=require(_0xe0d4('0x0'));var passport=require(_0xe0d4('0x1'));var router=express[_0xe0d4('0x2')]();var controller=require(_0xe0d4('0x3'));var userController=require(_0xe0d4('0x4'));var authService=require(_0xe0d4('0x5'));router[_0xe0d4('0x6')]('/',controller[_0xe0d4('0x7')]);router[_0xe0d4('0x6')]('/callback',controller[_0xe0d4('0x8')],authService[_0xe0d4('0x9')],userController[_0xe0d4('0x7')],authService[_0xe0d4('0xa')]);module['exports']=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