X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FauthGoogle%2Findex.js;h=799116e542888327746d6a82eb162dacaa1de081;hb=032eef5eb1c414450ccc959e49effc8ff508851b;hp=fff3c31ce8677a3ad03c579ef18929433c793a5b;hpb=9c8616cfa647d703a1bff4c288be65133e777d2a;p=motion2.git diff --git a/server/api/authGoogle/index.js b/server/api/authGoogle/index.js index fff3c31..799116e 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 _0x2242=['passport','Router','../user/user.controller.js','../../components/auth/service','login','get','callback','isMiddleware','exports','express'];(function(_0x2a3bb5,_0x1199a0){var _0x6ec9fd=function(_0x360f9a){while(--_0x360f9a){_0x2a3bb5['push'](_0x2a3bb5['shift']());}};_0x6ec9fd(++_0x1199a0);}(_0x2242,0x1a3));var _0x2224=function(_0x11a3ac,_0x16f24a){_0x11a3ac=_0x11a3ac-0x0;var _0x5a97f1=_0x2242[_0x11a3ac];return _0x5a97f1;};'use strict';var express=require(_0x2224('0x0'));var passport=require(_0x2224('0x1'));var router=express[_0x2224('0x2')]();var controller=require('./authGoogle.controller');var userController=require(_0x2224('0x3'));var authService=require(_0x2224('0x4'));router['get']('/',controller[_0x2224('0x5')]);router[_0x2224('0x6')]('/callback',controller[_0x2224('0x7')],authService[_0x2224('0x8')],userController[_0x2224('0x5')],authService['setTokenCookie']);module[_0x2224('0x9')]=router; \ No newline at end of file +var _0x1c4d=['callback','setTokenCookie','exports','passport','Router','./authGoogle.controller','../../components/auth/service','get','login'];(function(_0x3a7db0,_0xe93c50){var _0x17cbba=function(_0x577f4c){while(--_0x577f4c){_0x3a7db0['push'](_0x3a7db0['shift']());}};_0x17cbba(++_0xe93c50);}(_0x1c4d,0x1d7));var _0xd1c4=function(_0x42a206,_0x2b1612){_0x42a206=_0x42a206-0x0;var _0x35eb3b=_0x1c4d[_0x42a206];return _0x35eb3b;};'use strict';var express=require('express');var passport=require(_0xd1c4('0x0'));var router=express[_0xd1c4('0x1')]();var controller=require(_0xd1c4('0x2'));var userController=require('../user/user.controller.js');var authService=require(_0xd1c4('0x3'));router[_0xd1c4('0x4')]('/',controller[_0xd1c4('0x5')]);router[_0xd1c4('0x4')]('/callback',controller[_0xd1c4('0x6')],authService['isMiddleware'],userController[_0xd1c4('0x5')],authService[_0xd1c4('0x7')]);module[_0xd1c4('0x8')]=router; \ No newline at end of file