X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FauthGoogle%2Findex.js;h=4f8b37c6d18a7a8a1f2e3ab50594395d3070e2bb;hb=868a31873a4f5d6a45b7a9cfef882f2e311d37fa;hp=638116088783ed5b20edb99d07c06421db2921b7;hpb=da8b5d32823ad8783d3c47a738f61aa66e32f99c;p=motion2.git diff --git a/server/api/authGoogle/index.js b/server/api/authGoogle/index.js index 6381160..4f8b37c 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 _0x682e=['login','get','/callback','callback','isMiddleware','setTokenCookie','exports','express','passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service'];(function(_0x19f2b7,_0x4039a4){var _0x282e7e=function(_0x18e016){while(--_0x18e016){_0x19f2b7['push'](_0x19f2b7['shift']());}};_0x282e7e(++_0x4039a4);}(_0x682e,0x1ce));var _0xe682=function(_0x5eeb55,_0x5615e6){_0x5eeb55=_0x5eeb55-0x0;var _0x5a2296=_0x682e[_0x5eeb55];return _0x5a2296;};'use strict';var express=require(_0xe682('0x0'));var passport=require(_0xe682('0x1'));var router=express[_0xe682('0x2')]();var controller=require(_0xe682('0x3'));var userController=require(_0xe682('0x4'));var authService=require(_0xe682('0x5'));router['get']('/',controller[_0xe682('0x6')]);router[_0xe682('0x7')](_0xe682('0x8'),controller[_0xe682('0x9')],authService[_0xe682('0xa')],userController[_0xe682('0x6')],authService[_0xe682('0xb')]);module[_0xe682('0xc')]=router; \ No newline at end of file +var _0x6921=['get','callback','isMiddleware','login','setTokenCookie','exports','passport','./authGoogle.controller','../../components/auth/service'];(function(_0x1b189e,_0x48a43a){var _0x21ffee=function(_0x3ef8e4){while(--_0x3ef8e4){_0x1b189e['push'](_0x1b189e['shift']());}};_0x21ffee(++_0x48a43a);}(_0x6921,0x1d1));var _0x1692=function(_0x39ddab,_0x1bdf06){_0x39ddab=_0x39ddab-0x0;var _0x3dd5e9=_0x6921[_0x39ddab];return _0x3dd5e9;};'use strict';var express=require('express');var passport=require(_0x1692('0x0'));var router=express['Router']();var controller=require(_0x1692('0x1'));var userController=require('../user/user.controller.js');var authService=require(_0x1692('0x2'));router[_0x1692('0x3')]('/',controller['login']);router[_0x1692('0x3')]('/callback',controller[_0x1692('0x4')],authService[_0x1692('0x5')],userController[_0x1692('0x6')],authService[_0x1692('0x7')]);module[_0x1692('0x8')]=router; \ No newline at end of file