X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FauthGoogle%2Findex.js;h=5b7fb60b94a76ea9b045a8851613af5d52d75164;hb=77cac286a995d5774f6d69ad14d2f583dccfe84b;hp=f4acc59b135e2c76b5a9227bbe58300ed4b1ebbd;hpb=adb8f006f81edb620408176c5eb5832d5db4e6db;p=motion2.git diff --git a/server/api/authGoogle/index.js b/server/api/authGoogle/index.js index f4acc59..5b7fb60 100644 --- a/server/api/authGoogle/index.js +++ b/server/api/authGoogle/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x54f3=['passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','/callback','callback','setTokenCookie'];(function(_0x184150,_0xbf93a7){var _0x25c714=function(_0x4ad062){while(--_0x4ad062){_0x184150['push'](_0x184150['shift']());}};_0x25c714(++_0xbf93a7);}(_0x54f3,0x120));var _0x354f=function(_0x8c43de,_0x90ff31){_0x8c43de=_0x8c43de-0x0;var _0xa6591b=_0x54f3[_0x8c43de];return _0xa6591b;};'use strict';var express=require('express');var passport=require(_0x354f('0x0'));var router=express[_0x354f('0x1')]();var controller=require(_0x354f('0x2'));var userController=require(_0x354f('0x3'));var authService=require(_0x354f('0x4'));router['get']('/',controller['login']);router[_0x354f('0x5')](_0x354f('0x6'),controller[_0x354f('0x7')],authService['isMiddleware'],userController['login'],authService[_0x354f('0x8')]);module['exports']=router; \ No newline at end of file +var _0x008c=['../user/user.controller.js','get','login','/callback','callback','isMiddleware','setTokenCookie','exports','express','passport','Router','./authGoogle.controller'];(function(_0x34365b,_0x418c5a){var _0x12d73a=function(_0x242ded){while(--_0x242ded){_0x34365b['push'](_0x34365b['shift']());}};_0x12d73a(++_0x418c5a);}(_0x008c,0x188));var _0xc008=function(_0x49f913,_0x12ccd8){_0x49f913=_0x49f913-0x0;var _0xf48ea5=_0x008c[_0x49f913];return _0xf48ea5;};'use strict';var express=require(_0xc008('0x0'));var passport=require(_0xc008('0x1'));var router=express[_0xc008('0x2')]();var controller=require(_0xc008('0x3'));var userController=require(_0xc008('0x4'));var authService=require('../../components/auth/service');router[_0xc008('0x5')]('/',controller[_0xc008('0x6')]);router[_0xc008('0x5')](_0xc008('0x7'),controller[_0xc008('0x8')],authService[_0xc008('0x9')],userController[_0xc008('0x6')],authService[_0xc008('0xa')]);module[_0xc008('0xb')]=router; \ No newline at end of file