X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FauthGoogle%2Findex.js;h=1da2c644f29ab4e2e9137d9e290c851caeeb6447;hb=5bcfff2cfe490b4ab0d0668e644729ef139af2a3;hp=611acca159d2d02ee6fabcdcbaf17454c38322b4;hpb=6b8dca8de1a6b807be7e36077511bb032e7382e5;p=motion2.git diff --git a/server/api/authGoogle/index.js b/server/api/authGoogle/index.js index 611acca..1da2c64 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 _0xd816=['login','get','/callback','callback','exports','express','passport','./authGoogle.controller'];(function(_0xc0a3d3,_0x2c8d00){var _0x3386e8=function(_0x3f9df4){while(--_0x3f9df4){_0xc0a3d3['push'](_0xc0a3d3['shift']());}};_0x3386e8(++_0x2c8d00);}(_0xd816,0xd5));var _0x6d81=function(_0x39a1b2,_0x434c52){_0x39a1b2=_0x39a1b2-0x0;var _0x4cd3dd=_0xd816[_0x39a1b2];return _0x4cd3dd;};'use strict';var express=require(_0x6d81('0x0'));var passport=require(_0x6d81('0x1'));var router=express['Router']();var controller=require(_0x6d81('0x2'));var userController=require('../user/user.controller.js');var authService=require('../../components/auth/service');router['get']('/',controller[_0x6d81('0x3')]);router[_0x6d81('0x4')](_0x6d81('0x5'),controller[_0x6d81('0x6')],authService['isMiddleware'],userController[_0x6d81('0x3')],authService['setTokenCookie']);module[_0x6d81('0x7')]=router; \ No newline at end of file +var _0x5ff3=['isMiddleware','setTokenCookie','exports','passport','./authGoogle.controller','../../components/auth/service','get','login','callback'];(function(_0x3eabfa,_0x36fda9){var _0x3338d5=function(_0x36e333){while(--_0x36e333){_0x3eabfa['push'](_0x3eabfa['shift']());}};_0x3338d5(++_0x36fda9);}(_0x5ff3,0x17d));var _0x35ff=function(_0x22c0ae,_0x1452d4){_0x22c0ae=_0x22c0ae-0x0;var _0x612bcf=_0x5ff3[_0x22c0ae];return _0x612bcf;};'use strict';var express=require('express');var passport=require(_0x35ff('0x0'));var router=express['Router']();var controller=require(_0x35ff('0x1'));var userController=require('../user/user.controller.js');var authService=require(_0x35ff('0x2'));router[_0x35ff('0x3')]('/',controller[_0x35ff('0x4')]);router[_0x35ff('0x3')]('/callback',controller[_0x35ff('0x5')],authService[_0x35ff('0x6')],userController[_0x35ff('0x4')],authService[_0x35ff('0x7')]);module[_0x35ff('0x8')]=router; \ No newline at end of file