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 _0xb939=['login','/callback','callback','isMiddleware','setTokenCookie','express','passport','Router','../user/user.controller.js','../../components/auth/service','get'];(function(_0x5ad771,_0x34186f){var _0x5b5dce=function(_0x5ad0fb){while(--_0x5ad0fb){_0x5ad771['push'](_0x5ad771['shift']());}};_0x5b5dce(++_0x34186f);}(_0xb939,0x102));var _0x9b93=function(_0x19ebd6,_0x8be00a){_0x19ebd6=_0x19ebd6-0x0;var _0x3fb239=_0xb939[_0x19ebd6];return _0x3fb239;};'use strict';var express=require(_0x9b93('0x0'));var passport=require(_0x9b93('0x1'));var router=express[_0x9b93('0x2')]();var controller=require('./authGoogle.controller');var userController=require(_0x9b93('0x3'));var authService=require(_0x9b93('0x4'));router[_0x9b93('0x5')]('/',controller[_0x9b93('0x6')]);router[_0x9b93('0x5')](_0x9b93('0x7'),controller[_0x9b93('0x8')],authService[_0x9b93('0x9')],userController[_0x9b93('0x6')],authService[_0x9b93('0xa')]);module['exports']=router;