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 _0xdeb7=['Router','../user/user.controller.js','../../components/auth/service','get','login','callback','isMiddleware','setTokenCookie','exports','express','passport'];(function(_0x57cb81,_0x16d6a6){var _0x26f5e9=function(_0x20e84f){while(--_0x20e84f){_0x57cb81['push'](_0x57cb81['shift']());}};_0x26f5e9(++_0x16d6a6);}(_0xdeb7,0x77));var _0x7deb=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0xdeb7[_0x2641f9];return _0x585741;};'use strict';var express=require(_0x7deb('0x0'));var passport=require(_0x7deb('0x1'));var router=express[_0x7deb('0x2')]();var controller=require('./authGoogle.controller');var userController=require(_0x7deb('0x3'));var authService=require(_0x7deb('0x4'));router[_0x7deb('0x5')]('/',controller[_0x7deb('0x6')]);router[_0x7deb('0x5')]('/callback',controller[_0x7deb('0x7')],authService[_0x7deb('0x8')],userController[_0x7deb('0x6')],authService[_0x7deb('0x9')]);module[_0x7deb('0xa')]=router;