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 _0x5309=['./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','/callback','setTokenCookie','exports','express','passport','Router'];(function(_0x57a6ce,_0x3d7316){var _0x38de7e=function(_0x18499b){while(--_0x18499b){_0x57a6ce['push'](_0x57a6ce['shift']());}};_0x38de7e(++_0x3d7316);}(_0x5309,0x1aa));var _0x9530=function(_0x4bc65f,_0x39ec43){_0x4bc65f=_0x4bc65f-0x0;var _0x44f85f=_0x5309[_0x4bc65f];return _0x44f85f;};'use strict';var express=require(_0x9530('0x0'));var passport=require(_0x9530('0x1'));var router=express[_0x9530('0x2')]();var controller=require(_0x9530('0x3'));var userController=require(_0x9530('0x4'));var authService=require(_0x9530('0x5'));router[_0x9530('0x6')]('/',controller[_0x9530('0x7')]);router[_0x9530('0x6')](_0x9530('0x8'),controller['callback'],authService['isMiddleware'],userController[_0x9530('0x7')],authService[_0x9530('0x9')]);module[_0x9530('0xa')]=router;