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 _0x7710=['../user/user.controller.js','../../components/auth/service','get','login','isMiddleware','setTokenCookie','exports','passport','./authGoogle.controller'];(function(_0x36f7da,_0xb27fe0){var _0x106ef1=function(_0x24271f){while(--_0x24271f){_0x36f7da['push'](_0x36f7da['shift']());}};_0x106ef1(++_0xb27fe0);}(_0x7710,0x130));var _0x0771=function(_0x13cab2,_0x148058){_0x13cab2=_0x13cab2-0x0;var _0x292c90=_0x7710[_0x13cab2];return _0x292c90;};'use strict';var express=require('express');var passport=require(_0x0771('0x0'));var router=express['Router']();var controller=require(_0x0771('0x1'));var userController=require(_0x0771('0x2'));var authService=require(_0x0771('0x3'));router[_0x0771('0x4')]('/',controller[_0x0771('0x5')]);router['get']('/callback',controller['callback'],authService[_0x0771('0x6')],userController[_0x0771('0x5')],authService[_0x0771('0x7')]);module[_0x0771('0x8')]=router;