Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / authGoogle / index.js
index cb998a4..c1d987c 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 _0xfc1e=['../../components/auth/service','get','login','/callback','callback','setTokenCookie','exports','./authGoogle.controller','../user/user.controller.js'];(function(_0x410318,_0x4d5043){var _0x170b55=function(_0x4256be){while(--_0x4256be){_0x410318['push'](_0x410318['shift']());}};_0x170b55(++_0x4d5043);}(_0xfc1e,0x1c9));var _0xefc1=function(_0x54d49e,_0x5d9911){_0x54d49e=_0x54d49e-0x0;var _0x4af0f1=_0xfc1e[_0x54d49e];return _0x4af0f1;};'use strict';var express=require('express');var passport=require('passport');var router=express['Router']();var controller=require(_0xefc1('0x0'));var userController=require(_0xefc1('0x1'));var authService=require(_0xefc1('0x2'));router[_0xefc1('0x3')]('/',controller[_0xefc1('0x4')]);router['get'](_0xefc1('0x5'),controller[_0xefc1('0x6')],authService['isMiddleware'],userController['login'],authService[_0xefc1('0x7')]);module[_0xefc1('0x8')]=router;
\ No newline at end of file