Built motion from commit 25580385.|2.6.2
[motion2.git] / server / api / authGoogle / index.js
index c1d987c..aeb22d0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfc1e=['../../components/auth/service','get','login','/callback','callback','setTokenCookie','exports','./authGoogle.controller','../user/user.controller.js'];(function(_0x410318,_0x4d5043){var _0x170b55=function(_0x4256be){while(--_0x4256be){_0x410318['push'](_0x410318['shift']());}};_0x170b55(++_0x4d5043);}(_0xfc1e,0x1c9));var _0xefc1=function(_0x54d49e,_0x5d9911){_0x54d49e=_0x54d49e-0x0;var _0x4af0f1=_0xfc1e[_0x54d49e];return _0x4af0f1;};'use strict';var express=require('express');var passport=require('passport');var router=express['Router']();var controller=require(_0xefc1('0x0'));var userController=require(_0xefc1('0x1'));var authService=require(_0xefc1('0x2'));router[_0xefc1('0x3')]('/',controller[_0xefc1('0x4')]);router['get'](_0xefc1('0x5'),controller[_0xefc1('0x6')],authService['isMiddleware'],userController['login'],authService[_0xefc1('0x7')]);module[_0xefc1('0x8')]=router;
\ No newline at end of file
+var _0x399c=['login','/callback','callback','isMiddleware','setTokenCookie','express','passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get'];(function(_0x993f24,_0x227b78){var _0x3064db=function(_0x5c0d9e){while(--_0x5c0d9e){_0x993f24['push'](_0x993f24['shift']());}};_0x3064db(++_0x227b78);}(_0x399c,0x10d));var _0xc399=function(_0xb881ee,_0x261343){_0xb881ee=_0xb881ee-0x0;var _0x1ce61=_0x399c[_0xb881ee];return _0x1ce61;};'use strict';var express=require(_0xc399('0x0'));var passport=require(_0xc399('0x1'));var router=express[_0xc399('0x2')]();var controller=require(_0xc399('0x3'));var userController=require(_0xc399('0x4'));var authService=require(_0xc399('0x5'));router[_0xc399('0x6')]('/',controller[_0xc399('0x7')]);router[_0xc399('0x6')](_0xc399('0x8'),controller[_0xc399('0x9')],authService[_0xc399('0xa')],userController['login'],authService[_0xc399('0xb')]);module['exports']=router;
\ No newline at end of file