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 _0x7119=['login','callback','isMiddleware','setTokenCookie','exports','passport','./authGoogle.controller','../../components/auth/service','get'];(function(_0x579751,_0x4b96a2){var _0x1d00ba=function(_0x24cefc){while(--_0x24cefc){_0x579751['push'](_0x579751['shift']());}};_0x1d00ba(++_0x4b96a2);}(_0x7119,0x1c7));var _0x9711=function(_0x57d13b,_0x52d8cb){_0x57d13b=_0x57d13b-0x0;var _0x467696=_0x7119[_0x57d13b];return _0x467696;};'use strict';var express=require('express');var passport=require(_0x9711('0x0'));var router=express['Router']();var controller=require(_0x9711('0x1'));var userController=require('../user/user.controller.js');var authService=require(_0x9711('0x2'));router[_0x9711('0x3')]('/',controller[_0x9711('0x4')]);router[_0x9711('0x3')]('/callback',controller[_0x9711('0x5')],authService[_0x9711('0x6')],userController[_0x9711('0x4')],authService[_0x9711('0x7')]);module[_0x9711('0x8')]=router;