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 _0xd51f=['../user/user.controller.js','get','login','/callback','callback','setTokenCookie','express','passport','./authGoogle.controller'];(function(_0x33fb76,_0x450ed3){var _0x41033e=function(_0x14ed5e){while(--_0x14ed5e){_0x33fb76['push'](_0x33fb76['shift']());}};_0x41033e(++_0x450ed3);}(_0xd51f,0xf0));var _0xfd51=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0xd51f[_0x1cc8fe];return _0x230054;};'use strict';var express=require(_0xfd51('0x0'));var passport=require(_0xfd51('0x1'));var router=express['Router']();var controller=require(_0xfd51('0x2'));var userController=require(_0xfd51('0x3'));var authService=require('../../components/auth/service');router[_0xfd51('0x4')]('/',controller[_0xfd51('0x5')]);router['get'](_0xfd51('0x6'),controller[_0xfd51('0x7')],authService['isMiddleware'],userController[_0xfd51('0x5')],authService[_0xfd51('0x8')]);module['exports']=router;