Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / api / authGoogle / index.js
index 14f0b09..4d790c6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1eb0=['./authGoogle.controller','get','/callback','callback','isMiddleware','login','setTokenCookie','exports','express','passport','Router'];(function(_0x17de24,_0x3c6c3c){var _0x4a7763=function(_0x56abe0){while(--_0x56abe0){_0x17de24['push'](_0x17de24['shift']());}};_0x4a7763(++_0x3c6c3c);}(_0x1eb0,0x13c));var _0x01eb=function(_0x5b3aef,_0x942b2c){_0x5b3aef=_0x5b3aef-0x0;var _0x2667b2=_0x1eb0[_0x5b3aef];return _0x2667b2;};'use strict';var express=require(_0x01eb('0x0'));var passport=require(_0x01eb('0x1'));var router=express[_0x01eb('0x2')]();var controller=require(_0x01eb('0x3'));var userController=require('../user/user.controller.js');var authService=require('../../components/auth/service');router[_0x01eb('0x4')]('/',controller['login']);router[_0x01eb('0x4')](_0x01eb('0x5'),controller[_0x01eb('0x6')],authService[_0x01eb('0x7')],userController[_0x01eb('0x8')],authService[_0x01eb('0x9')]);module[_0x01eb('0xa')]=router;
\ No newline at end of file
+var _0xffcc=['setTokenCookie','exports','passport','./authGoogle.controller','../user/user.controller.js','get','callback','login'];(function(_0x1a3fe2,_0x553b71){var _0x490ee2=function(_0xc569b4){while(--_0xc569b4){_0x1a3fe2['push'](_0x1a3fe2['shift']());}};_0x490ee2(++_0x553b71);}(_0xffcc,0x112));var _0xcffc=function(_0x276e7e,_0x231bd3){_0x276e7e=_0x276e7e-0x0;var _0x108439=_0xffcc[_0x276e7e];return _0x108439;};'use strict';var express=require('express');var passport=require(_0xcffc('0x0'));var router=express['Router']();var controller=require(_0xcffc('0x1'));var userController=require(_0xcffc('0x2'));var authService=require('../../components/auth/service');router['get']('/',controller['login']);router[_0xcffc('0x3')]('/callback',controller[_0xcffc('0x4')],authService['isMiddleware'],userController[_0xcffc('0x5')],authService[_0xcffc('0x6')]);module[_0xcffc('0x7')]=router;
\ No newline at end of file