Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / authGoogle / index.js
index 9458b5c..e9aafb6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x6ccb=['/callback','callback','isMiddleware','setTokenCookie','exports','passport','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','login','get'];(function(_0x376b45,_0x5964fb){var _0x2341b3=function(_0x5a7f01){while(--_0x5a7f01){_0x376b45['push'](_0x376b45['shift']());}};_0x2341b3(++_0x5964fb);}(_0x6ccb,0x118));var _0xb6cc=function(_0x394694,_0x78036){_0x394694=_0x394694-0x0;var _0x3cd632=_0x6ccb[_0x394694];return _0x3cd632;};'use strict';var express=require('express');var passport=require(_0xb6cc('0x0'));var router=express['Router']();var controller=require(_0xb6cc('0x1'));var userController=require(_0xb6cc('0x2'));var authService=require(_0xb6cc('0x3'));router['get']('/',controller[_0xb6cc('0x4')]);router[_0xb6cc('0x5')](_0xb6cc('0x6'),controller[_0xb6cc('0x7')],authService[_0xb6cc('0x8')],userController[_0xb6cc('0x4')],authService[_0xb6cc('0x9')]);module[_0xb6cc('0xa')]=router;
\ No newline at end of file