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 _0x3d9c=['./authGoogle.controller','../user/user.controller.js','get','login','/callback','callback','isMiddleware','exports','express','Router'];(function(_0x31600c,_0x16295b){var _0x295cc1=function(_0x1e84cf){while(--_0x1e84cf){_0x31600c['push'](_0x31600c['shift']());}};_0x295cc1(++_0x16295b);}(_0x3d9c,0x134));var _0xc3d9=function(_0x64c870,_0x59f08f){_0x64c870=_0x64c870-0x0;var _0x771865=_0x3d9c[_0x64c870];return _0x771865;};'use strict';var express=require(_0xc3d9('0x0'));var passport=require('passport');var router=express[_0xc3d9('0x1')]();var controller=require(_0xc3d9('0x2'));var userController=require(_0xc3d9('0x3'));var authService=require('../../components/auth/service');router[_0xc3d9('0x4')]('/',controller[_0xc3d9('0x5')]);router[_0xc3d9('0x4')](_0xc3d9('0x6'),controller[_0xc3d9('0x7')],authService[_0xc3d9('0x8')],userController[_0xc3d9('0x5')],authService['setTokenCookie']);module[_0xc3d9('0x9')]=router;