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 _0xcde0=['/callback','callback','isMiddleware','login','setTokenCookie','exports','express','passport','Router','../user/user.controller.js','../../components/auth/service','get'];(function(_0x30ef18,_0x263844){var _0xfd7890=function(_0x41c79c){while(--_0x41c79c){_0x30ef18['push'](_0x30ef18['shift']());}};_0xfd7890(++_0x263844);}(_0xcde0,0x14a));var _0x0cde=function(_0x196db2,_0x10bc19){_0x196db2=_0x196db2-0x0;var _0x2f593b=_0xcde0[_0x196db2];return _0x2f593b;};'use strict';var express=require(_0x0cde('0x0'));var passport=require(_0x0cde('0x1'));var router=express[_0x0cde('0x2')]();var controller=require('./authGoogle.controller');var userController=require(_0x0cde('0x3'));var authService=require(_0x0cde('0x4'));router[_0x0cde('0x5')]('/',controller['login']);router[_0x0cde('0x5')](_0x0cde('0x6'),controller[_0x0cde('0x7')],authService[_0x0cde('0x8')],userController[_0x0cde('0x9')],authService[_0x0cde('0xa')]);module[_0x0cde('0xb')]=router;