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 _0x6068=['passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','/callback','isMiddleware','setTokenCookie','exports'];(function(_0x30f6c2,_0x4a187a){var _0x1a7f9d=function(_0x227f87){while(--_0x227f87){_0x30f6c2['push'](_0x30f6c2['shift']());}};_0x1a7f9d(++_0x4a187a);}(_0x6068,0x134));var _0x8606=function(_0x53f608,_0x256def){_0x53f608=_0x53f608-0x0;var _0x495b7d=_0x6068[_0x53f608];return _0x495b7d;};'use strict';var express=require('express');var passport=require(_0x8606('0x0'));var router=express[_0x8606('0x1')]();var controller=require(_0x8606('0x2'));var userController=require(_0x8606('0x3'));var authService=require(_0x8606('0x4'));router[_0x8606('0x5')]('/',controller[_0x8606('0x6')]);router[_0x8606('0x5')](_0x8606('0x7'),controller['callback'],authService[_0x8606('0x8')],userController[_0x8606('0x6')],authService[_0x8606('0x9')]);module[_0x8606('0xa')]=router;