Built motion from commit (unavailable).|2.4.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 _0x682e=['login','get','/callback','callback','isMiddleware','setTokenCookie','exports','express','passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service'];(function(_0x19f2b7,_0x4039a4){var _0x282e7e=function(_0x18e016){while(--_0x18e016){_0x19f2b7['push'](_0x19f2b7['shift']());}};_0x282e7e(++_0x4039a4);}(_0x682e,0x1ce));var _0xe682=function(_0x5eeb55,_0x5615e6){_0x5eeb55=_0x5eeb55-0x0;var _0x5a2296=_0x682e[_0x5eeb55];return _0x5a2296;};'use strict';var express=require(_0xe682('0x0'));var passport=require(_0xe682('0x1'));var router=express[_0xe682('0x2')]();var controller=require(_0xe682('0x3'));var userController=require(_0xe682('0x4'));var authService=require(_0xe682('0x5'));router['get']('/',controller[_0xe682('0x6')]);router[_0xe682('0x7')](_0xe682('0x8'),controller[_0xe682('0x9')],authService[_0xe682('0xa')],userController[_0xe682('0x6')],authService[_0xe682('0xb')]);module[_0xe682('0xc')]=router;