X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FauthGoogle%2Findex.js;h=6cfbc967823d254e45a1301e4730fa9c0f9c30f3;hb=bb4ed137b40a5e77cec195be87f1b347330d2766;hp=592087726b313271c21ffb59d8c881be5c0f3c78;hpb=bbf2934691a4ec9ff4842d68e55333ba589f6077;p=motion2.git diff --git a/server/api/authGoogle/index.js b/server/api/authGoogle/index.js index 5920877..6cfbc96 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 _0x01fe=['get','login','/callback','isMiddleware','setTokenCookie','exports','express','Router','./authGoogle.controller'];(function(_0x58319a,_0x145060){var _0x4cf654=function(_0x314238){while(--_0x314238){_0x58319a['push'](_0x58319a['shift']());}};_0x4cf654(++_0x145060);}(_0x01fe,0x102));var _0xe01f=function(_0xaff1c8,_0x28bf3f){_0xaff1c8=_0xaff1c8-0x0;var _0xe14f7f=_0x01fe[_0xaff1c8];return _0xe14f7f;};'use strict';var express=require(_0xe01f('0x0'));var passport=require('passport');var router=express[_0xe01f('0x1')]();var controller=require(_0xe01f('0x2'));var userController=require('../user/user.controller.js');var authService=require('../../components/auth/service');router[_0xe01f('0x3')]('/',controller[_0xe01f('0x4')]);router[_0xe01f('0x3')](_0xe01f('0x5'),controller['callback'],authService[_0xe01f('0x6')],userController['login'],authService[_0xe01f('0x7')]);module[_0xe01f('0x8')]=router; \ No newline at end of file +var _0xf0f8=['express','passport','Router','./authGoogle.controller','../user/user.controller.js','login','get','/callback','callback','isMiddleware','setTokenCookie'];(function(_0x31f7f7,_0x4b4e1e){var _0xfcd721=function(_0x2683fd){while(--_0x2683fd){_0x31f7f7['push'](_0x31f7f7['shift']());}};_0xfcd721(++_0x4b4e1e);}(_0xf0f8,0xbb));var _0x8f0f=function(_0x2f8400,_0x84ca65){_0x2f8400=_0x2f8400-0x0;var _0x5c9c39=_0xf0f8[_0x2f8400];return _0x5c9c39;};'use strict';var express=require(_0x8f0f('0x0'));var passport=require(_0x8f0f('0x1'));var router=express[_0x8f0f('0x2')]();var controller=require(_0x8f0f('0x3'));var userController=require(_0x8f0f('0x4'));var authService=require('../../components/auth/service');router['get']('/',controller[_0x8f0f('0x5')]);router[_0x8f0f('0x6')](_0x8f0f('0x7'),controller[_0x8f0f('0x8')],authService[_0x8f0f('0x9')],userController[_0x8f0f('0x5')],authService[_0x8f0f('0xa')]);module['exports']=router; \ No newline at end of file