X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FauthGoogle%2Findex.js;h=ea26d721fee98f8279a5e687cdc550d826894ba7;hb=8de30684771e4539598fcfa869d5f97a2efb140f;hp=ff31d91302fd70aab5681aed9388e00f9a188f9d;hpb=3912498a4dca9582374ca5cc8bf0a6347dda17ea;p=motion2.git diff --git a/server/api/authGoogle/index.js b/server/api/authGoogle/index.js index ff31d91..ea26d72 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 _0x9578=['/callback','callback','isMiddleware','setTokenCookie','exports','express','passport','Router','./authGoogle.controller','../../components/auth/service','login'];(function(_0x322bef,_0x4890d4){var _0x229e60=function(_0x45f89b){while(--_0x45f89b){_0x322bef['push'](_0x322bef['shift']());}};_0x229e60(++_0x4890d4);}(_0x9578,0x89));var _0x8957=function(_0x373dee,_0x1a8c45){_0x373dee=_0x373dee-0x0;var _0x46798f=_0x9578[_0x373dee];return _0x46798f;};'use strict';var express=require(_0x8957('0x0'));var passport=require(_0x8957('0x1'));var router=express[_0x8957('0x2')]();var controller=require(_0x8957('0x3'));var userController=require('../user/user.controller.js');var authService=require(_0x8957('0x4'));router['get']('/',controller[_0x8957('0x5')]);router['get'](_0x8957('0x6'),controller[_0x8957('0x7')],authService[_0x8957('0x8')],userController[_0x8957('0x5')],authService[_0x8957('0x9')]);module[_0x8957('0xa')]=router; \ No newline at end of file +var _0xffcc=['setTokenCookie','exports','passport','./authGoogle.controller','../user/user.controller.js','get','callback','login'];(function(_0x3110b8,_0x1e54b1){var _0xd41d04=function(_0x1eb317){while(--_0x1eb317){_0x3110b8['push'](_0x3110b8['shift']());}};_0xd41d04(++_0x1e54b1);}(_0xffcc,0x112));var _0xcffc=function(_0x210e2b,_0x377c45){_0x210e2b=_0x210e2b-0x0;var _0x5e1dbc=_0xffcc[_0x210e2b];return _0x5e1dbc;};'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