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 _0x9578=['/callback','callback','isMiddleware','setTokenCookie','exports','express','passport','Router','./authGoogle.controller','../../components/auth/service','login'];(function(_0x322bef,_0x4890d4){var _0x229e60=function(_0x45f89b){while(--_0x45f89b){_0x322bef['push'](_0x322bef['shift']());}};_0x229e60(++_0x4890d4);}(_0x9578,0x89));var _0x8957=function(_0x373dee,_0x1a8c45){_0x373dee=_0x373dee-0x0;var _0x46798f=_0x9578[_0x373dee];return _0x46798f;};'use strict';var express=require(_0x8957('0x0'));var passport=require(_0x8957('0x1'));var router=express[_0x8957('0x2')]();var controller=require(_0x8957('0x3'));var userController=require('../user/user.controller.js');var authService=require(_0x8957('0x4'));router['get']('/',controller[_0x8957('0x5')]);router['get'](_0x8957('0x6'),controller[_0x8957('0x7')],authService[_0x8957('0x8')],userController[_0x8957('0x5')],authService[_0x8957('0x9')]);module[_0x8957('0xa')]=router;