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 _0x4e8e=['login','/callback','callback','isMiddleware','setTokenCookie','exports','express','passport','../user/user.controller.js','../../components/auth/service','get'];(function(_0x140202,_0x4245c7){var _0x3037c2=function(_0x525d19){while(--_0x525d19){_0x140202['push'](_0x140202['shift']());}};_0x3037c2(++_0x4245c7);}(_0x4e8e,0x95));var _0xe4e8=function(_0x1f8b01,_0x4367ca){_0x1f8b01=_0x1f8b01-0x0;var _0x42c065=_0x4e8e[_0x1f8b01];return _0x42c065;};'use strict';var express=require(_0xe4e8('0x0'));var passport=require(_0xe4e8('0x1'));var router=express['Router']();var controller=require('./authGoogle.controller');var userController=require(_0xe4e8('0x2'));var authService=require(_0xe4e8('0x3'));router[_0xe4e8('0x4')]('/',controller[_0xe4e8('0x5')]);router['get'](_0xe4e8('0x6'),controller[_0xe4e8('0x7')],authService[_0xe4e8('0x8')],userController['login'],authService[_0xe4e8('0x9')]);module[_0xe4e8('0xa')]=router;