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 _0x1e7c=['passport','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','callback','isMiddleware','login','setTokenCookie','exports','express'];(function(_0x2aa282,_0x5c1746){var _0x30e82f=function(_0x30e71f){while(--_0x30e71f){_0x2aa282['push'](_0x2aa282['shift']());}};_0x30e82f(++_0x5c1746);}(_0x1e7c,0x1e3));var _0xc1e7=function(_0x18f2e2,_0xc80a44){_0x18f2e2=_0x18f2e2-0x0;var _0x809d26=_0x1e7c[_0x18f2e2];return _0x809d26;};'use strict';var express=require(_0xc1e7('0x0'));var passport=require(_0xc1e7('0x1'));var router=express['Router']();var controller=require(_0xc1e7('0x2'));var userController=require(_0xc1e7('0x3'));var authService=require(_0xc1e7('0x4'));router[_0xc1e7('0x5')]('/',controller['login']);router[_0xc1e7('0x5')]('/callback',controller[_0xc1e7('0x6')],authService[_0xc1e7('0x7')],userController[_0xc1e7('0x8')],authService[_0xc1e7('0x9')]);module[_0xc1e7('0xa')]=router;