Built motion from commit 8356fca3.|2.6.19
[motion2.git] / server / api / authGoogle / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x591a=['callback','isMiddleware','setTokenCookie','express','passport','Router','../user/user.controller.js','../../components/auth/service','login','get','/callback'];(function(_0x1ca9eb,_0x99a10b){var _0x2e284e=function(_0x1196a4){while(--_0x1196a4){_0x1ca9eb['push'](_0x1ca9eb['shift']());}};_0x2e284e(++_0x99a10b);}(_0x591a,0x163));var _0xa591=function(_0xaa0309,_0x1c8008){_0xaa0309=_0xaa0309-0x0;var _0x5de7ce=_0x591a[_0xaa0309];return _0x5de7ce;};'use strict';var express=require(_0xa591('0x0'));var passport=require(_0xa591('0x1'));var router=express[_0xa591('0x2')]();var controller=require('./authGoogle.controller');var userController=require(_0xa591('0x3'));var authService=require(_0xa591('0x4'));router['get']('/',controller[_0xa591('0x5')]);router[_0xa591('0x6')](_0xa591('0x7'),controller[_0xa591('0x8')],authService[_0xa591('0x9')],userController[_0xa591('0x5')],authService[_0xa591('0xa')]);module['exports']=router;