Built motion from commit eddce310.|2.6.12
[motion2.git] / server / api / authGoogle / index.js
index 9fc1231..bfb5e25 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcf1c=['../user/user.controller.js','../../components/auth/service','get','callback','login','setTokenCookie','exports','express','passport','./authGoogle.controller'];(function(_0xbe200f,_0x4b50eb){var _0x192597=function(_0x106cfd){while(--_0x106cfd){_0xbe200f['push'](_0xbe200f['shift']());}};_0x192597(++_0x4b50eb);}(_0xcf1c,0x18d));var _0xccf1=function(_0x2912b9,_0x55e6e1){_0x2912b9=_0x2912b9-0x0;var _0x154da8=_0xcf1c[_0x2912b9];return _0x154da8;};'use strict';var express=require(_0xccf1('0x0'));var passport=require(_0xccf1('0x1'));var router=express['Router']();var controller=require(_0xccf1('0x2'));var userController=require(_0xccf1('0x3'));var authService=require(_0xccf1('0x4'));router[_0xccf1('0x5')]('/',controller['login']);router['get']('/callback',controller[_0xccf1('0x6')],authService['isMiddleware'],userController[_0xccf1('0x7')],authService[_0xccf1('0x8')]);module[_0xccf1('0x9')]=router;
\ No newline at end of file
+var _0xbc8d=['../user/user.controller.js','../../components/auth/service','login','get','/callback','isMiddleware','setTokenCookie','express','Router','./authGoogle.controller'];(function(_0x3f0c5d,_0x1f390a){var _0x172300=function(_0x238f98){while(--_0x238f98){_0x3f0c5d['push'](_0x3f0c5d['shift']());}};_0x172300(++_0x1f390a);}(_0xbc8d,0x15b));var _0xdbc8=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xbc8d[_0x3dd15e];return _0x231fd0;};'use strict';var express=require(_0xdbc8('0x0'));var passport=require('passport');var router=express[_0xdbc8('0x1')]();var controller=require(_0xdbc8('0x2'));var userController=require(_0xdbc8('0x3'));var authService=require(_0xdbc8('0x4'));router['get']('/',controller[_0xdbc8('0x5')]);router[_0xdbc8('0x6')](_0xdbc8('0x7'),controller['callback'],authService[_0xdbc8('0x8')],userController[_0xdbc8('0x5')],authService[_0xdbc8('0x9')]);module['exports']=router;
\ No newline at end of file