Built motion from commit (unavailable).|2.5.10
[motion2.git] / server / api / authGoogle / index.js
index 8bdb6ff..4f8b37c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7070=['login','/callback','isMiddleware','passport','./authGoogle.controller','get'];(function(_0x4bfe17,_0x435710){var _0xb3cfad=function(_0x3e30c8){while(--_0x3e30c8){_0x4bfe17['push'](_0x4bfe17['shift']());}};_0xb3cfad(++_0x435710);}(_0x7070,0x1d7));var _0x0707=function(_0x7b6b32,_0x4f1d70){_0x7b6b32=_0x7b6b32-0x0;var _0x29f8fd=_0x7070[_0x7b6b32];return _0x29f8fd;};'use strict';var express=require('express');var passport=require(_0x0707('0x0'));var router=express['Router']();var controller=require(_0x0707('0x1'));var userController=require('../user/user.controller.js');var authService=require('../../components/auth/service');router[_0x0707('0x2')]('/',controller[_0x0707('0x3')]);router[_0x0707('0x2')](_0x0707('0x4'),controller['callback'],authService[_0x0707('0x5')],userController[_0x0707('0x3')],authService['setTokenCookie']);module['exports']=router;
\ No newline at end of file
+var _0x6921=['get','callback','isMiddleware','login','setTokenCookie','exports','passport','./authGoogle.controller','../../components/auth/service'];(function(_0x1b189e,_0x48a43a){var _0x21ffee=function(_0x3ef8e4){while(--_0x3ef8e4){_0x1b189e['push'](_0x1b189e['shift']());}};_0x21ffee(++_0x48a43a);}(_0x6921,0x1d1));var _0x1692=function(_0x39ddab,_0x1bdf06){_0x39ddab=_0x39ddab-0x0;var _0x3dd5e9=_0x6921[_0x39ddab];return _0x3dd5e9;};'use strict';var express=require('express');var passport=require(_0x1692('0x0'));var router=express['Router']();var controller=require(_0x1692('0x1'));var userController=require('../user/user.controller.js');var authService=require(_0x1692('0x2'));router[_0x1692('0x3')]('/',controller['login']);router[_0x1692('0x3')]('/callback',controller[_0x1692('0x4')],authService[_0x1692('0x5')],userController[_0x1692('0x6')],authService[_0x1692('0x7')]);module[_0x1692('0x8')]=router;
\ No newline at end of file