Built motion from commit (unavailable).|2.5.0
[motion2.git] / server / api / authGoogle / index.js
index 9eb3117..1c61a47 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6b19=['express','passport','./authGoogle.controller','get','login','/callback','callback','exports'];(function(_0x16a223,_0x31b6e8){var _0x5ded66=function(_0x25eb5f){while(--_0x25eb5f){_0x16a223['push'](_0x16a223['shift']());}};_0x5ded66(++_0x31b6e8);}(_0x6b19,0xe8));var _0x96b1=function(_0x1fac87,_0x526e4d){_0x1fac87=_0x1fac87-0x0;var _0x10177f=_0x6b19[_0x1fac87];return _0x10177f;};'use strict';var express=require(_0x96b1('0x0'));var passport=require(_0x96b1('0x1'));var router=express['Router']();var controller=require(_0x96b1('0x2'));var userController=require('../user/user.controller.js');var authService=require('../../components/auth/service');router[_0x96b1('0x3')]('/',controller[_0x96b1('0x4')]);router[_0x96b1('0x3')](_0x96b1('0x5'),controller[_0x96b1('0x6')],authService['isMiddleware'],userController[_0x96b1('0x4')],authService['setTokenCookie']);module[_0x96b1('0x7')]=router;
\ No newline at end of file
+var _0x073e=['Router','./authGoogle.controller','login','get','/callback','setTokenCookie','exports','express','passport'];(function(_0x52a980,_0x1eb237){var _0x9b52b6=function(_0x2a36e4){while(--_0x2a36e4){_0x52a980['push'](_0x52a980['shift']());}};_0x9b52b6(++_0x1eb237);}(_0x073e,0x181));var _0xe073=function(_0x970a57,_0x469d3c){_0x970a57=_0x970a57-0x0;var _0x42be6a=_0x073e[_0x970a57];return _0x42be6a;};'use strict';var express=require(_0xe073('0x0'));var passport=require(_0xe073('0x1'));var router=express[_0xe073('0x2')]();var controller=require(_0xe073('0x3'));var userController=require('../user/user.controller.js');var authService=require('../../components/auth/service');router['get']('/',controller[_0xe073('0x4')]);router[_0xe073('0x5')](_0xe073('0x6'),controller['callback'],authService['isMiddleware'],userController['login'],authService[_0xe073('0x7')]);module[_0xe073('0x8')]=router;
\ No newline at end of file