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 _0x2069=['/callback','callback','isMiddleware','exports','express','passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login'];(function(_0x40a045,_0x516f0e){var _0x1a687c=function(_0x48c9fe){while(--_0x48c9fe){_0x40a045['push'](_0x40a045['shift']());}};_0x1a687c(++_0x516f0e);}(_0x2069,0x130));var _0x9206=function(_0x15e02b,_0x133621){_0x15e02b=_0x15e02b-0x0;var _0x4c0f83=_0x2069[_0x15e02b];return _0x4c0f83;};'use strict';var express=require(_0x9206('0x0'));var passport=require(_0x9206('0x1'));var router=express[_0x9206('0x2')]();var controller=require(_0x9206('0x3'));var userController=require(_0x9206('0x4'));var authService=require(_0x9206('0x5'));router[_0x9206('0x6')]('/',controller[_0x9206('0x7')]);router[_0x9206('0x6')](_0x9206('0x8'),controller[_0x9206('0x9')],authService[_0x9206('0xa')],userController[_0x9206('0x7')],authService['setTokenCookie']);module[_0x9206('0xb')]=router;