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 _0xc368=['../../components/auth/service','get','login','/callback','callback','isMiddleware','passport','./authGoogle.controller','../user/user.controller.js'];(function(_0x22d202,_0xfcd670){var _0x3cb212=function(_0xafd594){while(--_0xafd594){_0x22d202['push'](_0x22d202['shift']());}};_0x3cb212(++_0xfcd670);}(_0xc368,0x7b));var _0x8c36=function(_0x6d2b3b,_0x40bc9d){_0x6d2b3b=_0x6d2b3b-0x0;var _0x5f10d0=_0xc368[_0x6d2b3b];return _0x5f10d0;};'use strict';var express=require('express');var passport=require(_0x8c36('0x0'));var router=express['Router']();var controller=require(_0x8c36('0x1'));var userController=require(_0x8c36('0x2'));var authService=require(_0x8c36('0x3'));router[_0x8c36('0x4')]('/',controller[_0x8c36('0x5')]);router['get'](_0x8c36('0x6'),controller[_0x8c36('0x7')],authService[_0x8c36('0x8')],userController[_0x8c36('0x5')],authService['setTokenCookie']);module['exports']=router;