Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / authGoogle / index.js
index d32a3a3..e8913d9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf9a3=['login','/callback','callback','exports','express','passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get'];(function(_0x8d6333,_0x3abc16){var _0x151cf4=function(_0x57e912){while(--_0x57e912){_0x8d6333['push'](_0x8d6333['shift']());}};_0x151cf4(++_0x3abc16);}(_0xf9a3,0x17a));var _0x3f9a=function(_0x4e283d,_0x29ced1){_0x4e283d=_0x4e283d-0x0;var _0x566f7c=_0xf9a3[_0x4e283d];return _0x566f7c;};'use strict';var express=require(_0x3f9a('0x0'));var passport=require(_0x3f9a('0x1'));var router=express[_0x3f9a('0x2')]();var controller=require(_0x3f9a('0x3'));var userController=require(_0x3f9a('0x4'));var authService=require(_0x3f9a('0x5'));router[_0x3f9a('0x6')]('/',controller[_0x3f9a('0x7')]);router[_0x3f9a('0x6')](_0x3f9a('0x8'),controller[_0x3f9a('0x9')],authService['isMiddleware'],userController[_0x3f9a('0x7')],authService['setTokenCookie']);module[_0x3f9a('0xa')]=router;
\ No newline at end of file
+var _0x69e8=['get','/callback','login','setTokenCookie','exports','express','Router','./authGoogle.controller','../../components/auth/service'];(function(_0x31510c,_0x5b445b){var _0xc98150=function(_0x104507){while(--_0x104507){_0x31510c['push'](_0x31510c['shift']());}};_0xc98150(++_0x5b445b);}(_0x69e8,0x137));var _0x869e=function(_0x5219ed,_0x54087e){_0x5219ed=_0x5219ed-0x0;var _0x510b27=_0x69e8[_0x5219ed];return _0x510b27;};'use strict';var express=require(_0x869e('0x0'));var passport=require('passport');var router=express[_0x869e('0x1')]();var controller=require(_0x869e('0x2'));var userController=require('../user/user.controller.js');var authService=require(_0x869e('0x3'));router['get']('/',controller['login']);router[_0x869e('0x4')](_0x869e('0x5'),controller['callback'],authService['isMiddleware'],userController[_0x869e('0x6')],authService[_0x869e('0x7')]);module[_0x869e('0x8')]=router;
\ No newline at end of file