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 _0x9491=['setTokenCookie','exports','express','passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','/callback','isMiddleware'];(function(_0x358d05,_0x40f00a){var _0x599f2e=function(_0x3f6e93){while(--_0x3f6e93){_0x358d05['push'](_0x358d05['shift']());}};_0x599f2e(++_0x40f00a);}(_0x9491,0xb6));var _0x1949=function(_0x3ab39b,_0x5e5f61){_0x3ab39b=_0x3ab39b-0x0;var _0x3ce484=_0x9491[_0x3ab39b];return _0x3ce484;};'use strict';var express=require(_0x1949('0x0'));var passport=require(_0x1949('0x1'));var router=express[_0x1949('0x2')]();var controller=require(_0x1949('0x3'));var userController=require(_0x1949('0x4'));var authService=require(_0x1949('0x5'));router[_0x1949('0x6')]('/',controller[_0x1949('0x7')]);router[_0x1949('0x6')](_0x1949('0x8'),controller['callback'],authService[_0x1949('0x9')],userController['login'],authService[_0x1949('0xa')]);module[_0x1949('0xb')]=router;