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 _0x5ef9=['Router','get','/callback','callback','isMiddleware','login','setTokenCookie','express','passport'];(function(_0xed280f,_0x4ca4e7){var _0x353aec=function(_0x439c5d){while(--_0x439c5d){_0xed280f['push'](_0xed280f['shift']());}};_0x353aec(++_0x4ca4e7);}(_0x5ef9,0x142));var _0x95ef=function(_0x2e4e19,_0x493b50){_0x2e4e19=_0x2e4e19-0x0;var _0x9ba20b=_0x5ef9[_0x2e4e19];return _0x9ba20b;};'use strict';var express=require(_0x95ef('0x0'));var passport=require(_0x95ef('0x1'));var router=express[_0x95ef('0x2')]();var controller=require('./authGoogle.controller');var userController=require('../user/user.controller.js');var authService=require('../../components/auth/service');router[_0x95ef('0x3')]('/',controller['login']);router[_0x95ef('0x3')](_0x95ef('0x4'),controller[_0x95ef('0x5')],authService[_0x95ef('0x6')],userController[_0x95ef('0x7')],authService[_0x95ef('0x8')]);module['exports']=router;