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 _0xd816=['login','get','/callback','callback','exports','express','passport','./authGoogle.controller'];(function(_0xc0a3d3,_0x2c8d00){var _0x3386e8=function(_0x3f9df4){while(--_0x3f9df4){_0xc0a3d3['push'](_0xc0a3d3['shift']());}};_0x3386e8(++_0x2c8d00);}(_0xd816,0xd5));var _0x6d81=function(_0x39a1b2,_0x434c52){_0x39a1b2=_0x39a1b2-0x0;var _0x4cd3dd=_0xd816[_0x39a1b2];return _0x4cd3dd;};'use strict';var express=require(_0x6d81('0x0'));var passport=require(_0x6d81('0x1'));var router=express['Router']();var controller=require(_0x6d81('0x2'));var userController=require('../user/user.controller.js');var authService=require('../../components/auth/service');router['get']('/',controller[_0x6d81('0x3')]);router[_0x6d81('0x4')](_0x6d81('0x5'),controller[_0x6d81('0x6')],authService['isMiddleware'],userController[_0x6d81('0x3')],authService['setTokenCookie']);module[_0x6d81('0x7')]=router;