X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FauthGoogle%2Findex.js;h=e9aafb6b5e32c1b348665497358e478357d8f668;hb=b2ace134e5eb466deeb396f27c0c22876a7ffeae;hp=4e5afd3cfe9d8e3a0bbeeb207ce123fb0937755e;hpb=0fe7d63fdd24ac799f5260a5b10b06097955b09f;p=motion2.git diff --git a/server/api/authGoogle/index.js b/server/api/authGoogle/index.js index 4e5afd3..e9aafb6 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 _0xe78c=['setTokenCookie','exports','passport','../user/user.controller.js','get','login'];(function(_0x3635ce,_0x33a6f9){var _0x97ecd0=function(_0x123d98){while(--_0x123d98){_0x3635ce['push'](_0x3635ce['shift']());}};_0x97ecd0(++_0x33a6f9);}(_0xe78c,0xaa));var _0xce78=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0xe78c[_0x57b54c];return _0x59cc19;};'use strict';var express=require('express');var passport=require(_0xce78('0x0'));var router=express['Router']();var controller=require('./authGoogle.controller');var userController=require(_0xce78('0x1'));var authService=require('../../components/auth/service');router[_0xce78('0x2')]('/',controller[_0xce78('0x3')]);router['get']('/callback',controller['callback'],authService['isMiddleware'],userController[_0xce78('0x3')],authService[_0xce78('0x4')]);module[_0xce78('0x5')]=router; \ No newline at end of file +var _0x6ccb=['/callback','callback','isMiddleware','setTokenCookie','exports','passport','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','login','get'];(function(_0x376b45,_0x5964fb){var _0x2341b3=function(_0x5a7f01){while(--_0x5a7f01){_0x376b45['push'](_0x376b45['shift']());}};_0x2341b3(++_0x5964fb);}(_0x6ccb,0x118));var _0xb6cc=function(_0x394694,_0x78036){_0x394694=_0x394694-0x0;var _0x3cd632=_0x6ccb[_0x394694];return _0x3cd632;};'use strict';var express=require('express');var passport=require(_0xb6cc('0x0'));var router=express['Router']();var controller=require(_0xb6cc('0x1'));var userController=require(_0xb6cc('0x2'));var authService=require(_0xb6cc('0x3'));router['get']('/',controller[_0xb6cc('0x4')]);router[_0xb6cc('0x5')](_0xb6cc('0x6'),controller[_0xb6cc('0x7')],authService[_0xb6cc('0x8')],userController[_0xb6cc('0x4')],authService[_0xb6cc('0x9')]);module[_0xb6cc('0xa')]=router; \ No newline at end of file