Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / authGoogle / index.js
index 0265697..8c20d56 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x92c4=['/callback','callback','isMiddleware','exports','express','passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','login','get'];(function(_0x58d3c0,_0x65e7de){var _0x4f0d70=function(_0x5e6fc9){while(--_0x5e6fc9){_0x58d3c0['push'](_0x58d3c0['shift']());}};_0x4f0d70(++_0x65e7de);}(_0x92c4,0x1a8));var _0x492c=function(_0x23e878,_0x2691dd){_0x23e878=_0x23e878-0x0;var _0xc95b81=_0x92c4[_0x23e878];return _0xc95b81;};'use strict';var express=require(_0x492c('0x0'));var passport=require(_0x492c('0x1'));var router=express[_0x492c('0x2')]();var controller=require(_0x492c('0x3'));var userController=require(_0x492c('0x4'));var authService=require(_0x492c('0x5'));router['get']('/',controller[_0x492c('0x6')]);router[_0x492c('0x7')](_0x492c('0x8'),controller[_0x492c('0x9')],authService[_0x492c('0xa')],userController[_0x492c('0x6')],authService['setTokenCookie']);module[_0x492c('0xb')]=router;
\ No newline at end of file