Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / authGoogle / index.js
index 73e7bf3..0265697 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc368=['../../components/auth/service','get','login','/callback','callback','isMiddleware','passport','./authGoogle.controller','../user/user.controller.js'];(function(_0x22d202,_0xfcd670){var _0x3cb212=function(_0xafd594){while(--_0xafd594){_0x22d202['push'](_0x22d202['shift']());}};_0x3cb212(++_0xfcd670);}(_0xc368,0x7b));var _0x8c36=function(_0x6d2b3b,_0x40bc9d){_0x6d2b3b=_0x6d2b3b-0x0;var _0x5f10d0=_0xc368[_0x6d2b3b];return _0x5f10d0;};'use strict';var express=require('express');var passport=require(_0x8c36('0x0'));var router=express['Router']();var controller=require(_0x8c36('0x1'));var userController=require(_0x8c36('0x2'));var authService=require(_0x8c36('0x3'));router[_0x8c36('0x4')]('/',controller[_0x8c36('0x5')]);router['get'](_0x8c36('0x6'),controller[_0x8c36('0x7')],authService[_0x8c36('0x8')],userController[_0x8c36('0x5')],authService['setTokenCookie']);module['exports']=router;
\ No newline at end of file
+var _0x619a=['isMiddleware','../user/user.controller.js','../../components/auth/service','get','login'];(function(_0x443f79,_0x33e446){var _0x3847e4=function(_0x42fa01){while(--_0x42fa01){_0x443f79['push'](_0x443f79['shift']());}};_0x3847e4(++_0x33e446);}(_0x619a,0xb0));var _0xa619=function(_0x2fb0c1,_0x4487f9){_0x2fb0c1=_0x2fb0c1-0x0;var _0x11ff83=_0x619a[_0x2fb0c1];return _0x11ff83;};'use strict';var express=require('express');var passport=require('passport');var router=express['Router']();var controller=require('./authGoogle.controller');var userController=require(_0xa619('0x0'));var authService=require(_0xa619('0x1'));router[_0xa619('0x2')]('/',controller[_0xa619('0x3')]);router[_0xa619('0x2')]('/callback',controller['callback'],authService[_0xa619('0x4')],userController[_0xa619('0x3')],authService['setTokenCookie']);module['exports']=router;
\ No newline at end of file