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 _0x0531=['setTokenCookie','exports','express','passport','../user/user.controller.js','login','get','/callback','callback','isMiddleware'];(function(_0x3216a8,_0x14f1d8){var _0x568cfb=function(_0x5abb8b){while(--_0x5abb8b){_0x3216a8['push'](_0x3216a8['shift']());}};_0x568cfb(++_0x14f1d8);}(_0x0531,0xde));var _0x1053=function(_0x14e27a,_0x3b4136){_0x14e27a=_0x14e27a-0x0;var _0x288688=_0x0531[_0x14e27a];return _0x288688;};'use strict';var express=require(_0x1053('0x0'));var passport=require(_0x1053('0x1'));var router=express['Router']();var controller=require('./authGoogle.controller');var userController=require(_0x1053('0x2'));var authService=require('../../components/auth/service');router['get']('/',controller[_0x1053('0x3')]);router[_0x1053('0x4')](_0x1053('0x5'),controller[_0x1053('0x6')],authService[_0x1053('0x7')],userController[_0x1053('0x3')],authService[_0x1053('0x8')]);module[_0x1053('0x9')]=router;