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 _0xe880=['get','login','/callback','callback','isMiddleware','setTokenCookie','exports','express','passport','Router','./authGoogle.controller','../user/user.controller.js'];(function(_0x556927,_0x34b53f){var _0x5f1235=function(_0x4f4e44){while(--_0x4f4e44){_0x556927['push'](_0x556927['shift']());}};_0x5f1235(++_0x34b53f);}(_0xe880,0x103));var _0x0e88=function(_0x411017,_0x4a8117){_0x411017=_0x411017-0x0;var _0x2adeea=_0xe880[_0x411017];return _0x2adeea;};'use strict';var express=require(_0x0e88('0x0'));var passport=require(_0x0e88('0x1'));var router=express[_0x0e88('0x2')]();var controller=require(_0x0e88('0x3'));var userController=require(_0x0e88('0x4'));var authService=require('../../components/auth/service');router[_0x0e88('0x5')]('/',controller[_0x0e88('0x6')]);router[_0x0e88('0x5')](_0x0e88('0x7'),controller[_0x0e88('0x8')],authService[_0x0e88('0x9')],userController[_0x0e88('0x6')],authService[_0x0e88('0xa')]);module[_0x0e88('0xb')]=router;