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 _0xcf14=['exports','express','Router','./authGoogle.controller','../../components/auth/service','get','login','callback','isMiddleware','setTokenCookie'];(function(_0x5b1906,_0x493793){var _0x2a388f=function(_0x164497){while(--_0x164497){_0x5b1906['push'](_0x5b1906['shift']());}};_0x2a388f(++_0x493793);}(_0xcf14,0xa1));var _0x4cf1=function(_0x384713,_0x26916e){_0x384713=_0x384713-0x0;var _0x2d5337=_0xcf14[_0x384713];return _0x2d5337;};'use strict';var express=require(_0x4cf1('0x0'));var passport=require('passport');var router=express[_0x4cf1('0x1')]();var controller=require(_0x4cf1('0x2'));var userController=require('../user/user.controller.js');var authService=require(_0x4cf1('0x3'));router[_0x4cf1('0x4')]('/',controller[_0x4cf1('0x5')]);router[_0x4cf1('0x4')]('/callback',controller[_0x4cf1('0x6')],authService[_0x4cf1('0x7')],userController[_0x4cf1('0x5')],authService[_0x4cf1('0x8')]);module[_0x4cf1('0x9')]=router;