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 _0x5044=['passport','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','/callback','callback','setTokenCookie','exports'];(function(_0x7c0074,_0x1ffdcf){var _0x13e95b=function(_0x521212){while(--_0x521212){_0x7c0074['push'](_0x7c0074['shift']());}};_0x13e95b(++_0x1ffdcf);}(_0x5044,0xc8));var _0x4504=function(_0x549b48,_0x2de299){_0x549b48=_0x549b48-0x0;var _0x1ec344=_0x5044[_0x549b48];return _0x1ec344;};'use strict';var express=require('express');var passport=require(_0x4504('0x0'));var router=express['Router']();var controller=require(_0x4504('0x1'));var userController=require(_0x4504('0x2'));var authService=require(_0x4504('0x3'));router[_0x4504('0x4')]('/',controller[_0x4504('0x5')]);router[_0x4504('0x4')](_0x4504('0x6'),controller[_0x4504('0x7')],authService['isMiddleware'],userController[_0x4504('0x5')],authService[_0x4504('0x8')]);module[_0x4504('0x9')]=router;