X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FauthGoogle%2Findex.js;h=e7427bf556a374d93233148689a261a3a0241b3d;hb=01b994ccefecbcf0783b039dab259e973f97957c;hp=7253ea8865275765ea7eb74189b9c109751590a5;hpb=ff1c11e14fca8d30ba993bf9ad292fb70d9b0b0b;p=motion2.git diff --git a/server/api/authGoogle/index.js b/server/api/authGoogle/index.js index 7253ea8..e7427bf 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 _0xfb4c=['./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','isMiddleware','exports','express','passport','Router'];(function(_0xa4f435,_0x5be8a0){var _0x3b1cb6=function(_0x3eef8e){while(--_0x3eef8e){_0xa4f435['push'](_0xa4f435['shift']());}};_0x3b1cb6(++_0x5be8a0);}(_0xfb4c,0xc5));var _0xcfb4=function(_0x22376f,_0x1d3e6c){_0x22376f=_0x22376f-0x0;var _0x45c934=_0xfb4c[_0x22376f];return _0x45c934;};'use strict';var express=require(_0xcfb4('0x0'));var passport=require(_0xcfb4('0x1'));var router=express[_0xcfb4('0x2')]();var controller=require(_0xcfb4('0x3'));var userController=require(_0xcfb4('0x4'));var authService=require(_0xcfb4('0x5'));router[_0xcfb4('0x6')]('/',controller[_0xcfb4('0x7')]);router[_0xcfb4('0x6')]('/callback',controller['callback'],authService[_0xcfb4('0x8')],userController['login'],authService['setTokenCookie']);module[_0xcfb4('0x9')]=router; \ No newline at end of file +var _0xadf9=['express','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','login','get','/callback','callback','exports'];(function(_0x12023a,_0x11873d){var _0x3f89a6=function(_0x19ca08){while(--_0x19ca08){_0x12023a['push'](_0x12023a['shift']());}};_0x3f89a6(++_0x11873d);}(_0xadf9,0x154));var _0x9adf=function(_0x5c6244,_0x112ab8){_0x5c6244=_0x5c6244-0x0;var _0x5800ce=_0xadf9[_0x5c6244];return _0x5800ce;};'use strict';var express=require(_0x9adf('0x0'));var passport=require('passport');var router=express[_0x9adf('0x1')]();var controller=require(_0x9adf('0x2'));var userController=require(_0x9adf('0x3'));var authService=require(_0x9adf('0x4'));router['get']('/',controller[_0x9adf('0x5')]);router[_0x9adf('0x6')](_0x9adf('0x7'),controller[_0x9adf('0x8')],authService['isMiddleware'],userController[_0x9adf('0x5')],authService['setTokenCookie']);module[_0x9adf('0x9')]=router; \ No newline at end of file