Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / server / api / authGoogle / index.js
index cb998a4..99a3f05 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbf82=['Router','../user/user.controller.js','../../components/auth/service','get','/callback','callback','isMiddleware','login','setTokenCookie','express'];(function(_0x18197d,_0x233a0d){var _0x2c78e0=function(_0x30a60e){while(--_0x30a60e){_0x18197d['push'](_0x18197d['shift']());}};_0x2c78e0(++_0x233a0d);}(_0xbf82,0x1cb));var _0x2bf8=function(_0x3a76cf,_0x38a63b){_0x3a76cf=_0x3a76cf-0x0;var _0xa91744=_0xbf82[_0x3a76cf];return _0xa91744;};'use strict';var express=require(_0x2bf8('0x0'));var passport=require('passport');var router=express[_0x2bf8('0x1')]();var controller=require('./authGoogle.controller');var userController=require(_0x2bf8('0x2'));var authService=require(_0x2bf8('0x3'));router[_0x2bf8('0x4')]('/',controller['login']);router['get'](_0x2bf8('0x5'),controller[_0x2bf8('0x6')],authService[_0x2bf8('0x7')],userController[_0x2bf8('0x8')],authService[_0x2bf8('0x9')]);module['exports']=router;
\ No newline at end of file
+var _0x88ce=['exports','passport','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','callback','isMiddleware','setTokenCookie'];(function(_0x22a9b7,_0x58e5d4){var _0x8a8568=function(_0x271479){while(--_0x271479){_0x22a9b7['push'](_0x22a9b7['shift']());}};_0x8a8568(++_0x58e5d4);}(_0x88ce,0xab));var _0xe88c=function(_0x190c2d,_0x2c9528){_0x190c2d=_0x190c2d-0x0;var _0x19f5d3=_0x88ce[_0x190c2d];return _0x19f5d3;};'use strict';var express=require('express');var passport=require(_0xe88c('0x0'));var router=express['Router']();var controller=require(_0xe88c('0x1'));var userController=require(_0xe88c('0x2'));var authService=require(_0xe88c('0x3'));router[_0xe88c('0x4')]('/',controller[_0xe88c('0x5')]);router[_0xe88c('0x4')]('/callback',controller[_0xe88c('0x6')],authService[_0xe88c('0x7')],userController[_0xe88c('0x5')],authService[_0xe88c('0x8')]);module[_0xe88c('0x9')]=router;
\ No newline at end of file