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 _0x3fa4=['callback','isMiddleware','exports','passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','/callback'];(function(_0x5338d3,_0x470835){var _0x8beb32=function(_0x718ac9){while(--_0x718ac9){_0x5338d3['push'](_0x5338d3['shift']());}};_0x8beb32(++_0x470835);}(_0x3fa4,0x87));var _0x43fa=function(_0x350b75,_0x3bc042){_0x350b75=_0x350b75-0x0;var _0x1657e3=_0x3fa4[_0x350b75];return _0x1657e3;};'use strict';var express=require('express');var passport=require(_0x43fa('0x0'));var router=express[_0x43fa('0x1')]();var controller=require(_0x43fa('0x2'));var userController=require(_0x43fa('0x3'));var authService=require(_0x43fa('0x4'));router[_0x43fa('0x5')]('/',controller[_0x43fa('0x6')]);router[_0x43fa('0x5')](_0x43fa('0x7'),controller[_0x43fa('0x8')],authService[_0x43fa('0x9')],userController[_0x43fa('0x6')],authService['setTokenCookie']);module[_0x43fa('0xa')]=router;