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 _0x1057=['isMiddleware','setTokenCookie','exports','express','passport','Router','./authGoogle.controller','../user/user.controller.js','get','login','/callback','callback'];(function(_0x2f7f62,_0x48fa3a){var _0x477878=function(_0x4b6229){while(--_0x4b6229){_0x2f7f62['push'](_0x2f7f62['shift']());}};_0x477878(++_0x48fa3a);}(_0x1057,0xc3));var _0x7105=function(_0x15d1d9,_0x41960f){_0x15d1d9=_0x15d1d9-0x0;var _0x5acc6f=_0x1057[_0x15d1d9];return _0x5acc6f;};'use strict';var express=require(_0x7105('0x0'));var passport=require(_0x7105('0x1'));var router=express[_0x7105('0x2')]();var controller=require(_0x7105('0x3'));var userController=require(_0x7105('0x4'));var authService=require('../../components/auth/service');router[_0x7105('0x5')]('/',controller[_0x7105('0x6')]);router[_0x7105('0x5')](_0x7105('0x7'),controller[_0x7105('0x8')],authService[_0x7105('0x9')],userController[_0x7105('0x6')],authService[_0x7105('0xa')]);module[_0x7105('0xb')]=router;