Built motion from commit (unavailable).|2.5.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 _0x8ccb=['exports','express','passport','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','/callback','callback','isMiddleware','setTokenCookie'];(function(_0x1bff4a,_0x5613df){var _0x22ba92=function(_0x17fc60){while(--_0x17fc60){_0x1bff4a['push'](_0x1bff4a['shift']());}};_0x22ba92(++_0x5613df);}(_0x8ccb,0x1c4));var _0xb8cc=function(_0x1911ed,_0x4e8c73){_0x1911ed=_0x1911ed-0x0;var _0x11edaa=_0x8ccb[_0x1911ed];return _0x11edaa;};'use strict';var express=require(_0xb8cc('0x0'));var passport=require(_0xb8cc('0x1'));var router=express['Router']();var controller=require(_0xb8cc('0x2'));var userController=require(_0xb8cc('0x3'));var authService=require(_0xb8cc('0x4'));router[_0xb8cc('0x5')]('/',controller['login']);router['get'](_0xb8cc('0x6'),controller[_0xb8cc('0x7')],authService[_0xb8cc('0x8')],userController['login'],authService[_0xb8cc('0x9')]);module[_0xb8cc('0xa')]=router;