Built motion from commit (unavailable).|2.5.8
[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 _0x008c=['../user/user.controller.js','get','login','/callback','callback','isMiddleware','setTokenCookie','exports','express','passport','Router','./authGoogle.controller'];(function(_0x34365b,_0x418c5a){var _0x12d73a=function(_0x242ded){while(--_0x242ded){_0x34365b['push'](_0x34365b['shift']());}};_0x12d73a(++_0x418c5a);}(_0x008c,0x188));var _0xc008=function(_0x49f913,_0x12ccd8){_0x49f913=_0x49f913-0x0;var _0xf48ea5=_0x008c[_0x49f913];return _0xf48ea5;};'use strict';var express=require(_0xc008('0x0'));var passport=require(_0xc008('0x1'));var router=express[_0xc008('0x2')]();var controller=require(_0xc008('0x3'));var userController=require(_0xc008('0x4'));var authService=require('../../components/auth/service');router[_0xc008('0x5')]('/',controller[_0xc008('0x6')]);router[_0xc008('0x5')](_0xc008('0x7'),controller[_0xc008('0x8')],authService[_0xc008('0x9')],userController[_0xc008('0x6')],authService[_0xc008('0xa')]);module[_0xc008('0xb')]=router;