1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xcffe=['passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','/callback','setTokenCookie','exports','express'];(function(_0x235ad6,_0x154079){var _0x27a27c=function(_0x31ba21){while(--_0x31ba21){_0x235ad6['push'](_0x235ad6['shift']());}};_0x27a27c(++_0x154079);}(_0xcffe,0x1a1));var _0xecff=function(_0x3246a6,_0x2a685a){_0x3246a6=_0x3246a6-0x0;var _0x1df64d=_0xcffe[_0x3246a6];return _0x1df64d;};'use strict';var express=require(_0xecff('0x0'));var passport=require(_0xecff('0x1'));var router=express[_0xecff('0x2')]();var controller=require(_0xecff('0x3'));var userController=require(_0xecff('0x4'));var authService=require(_0xecff('0x5'));router[_0xecff('0x6')]('/',controller[_0xecff('0x7')]);router[_0xecff('0x6')](_0xecff('0x8'),controller['callback'],authService['isMiddleware'],userController[_0xecff('0x7')],authService[_0xecff('0x9')]);module[_0xecff('0xa')]=router;