Built motion from commit (unavailable).|2.4.17
[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 _0x2b84=['../user/user.controller.js','../../components/auth/service','login','get','/callback','callback','isMiddleware','setTokenCookie','exports','express','Router','./authGoogle.controller'];(function(_0x48c9f9,_0x37ffbf){var _0x420741=function(_0x9e1ef6){while(--_0x9e1ef6){_0x48c9f9['push'](_0x48c9f9['shift']());}};_0x420741(++_0x37ffbf);}(_0x2b84,0x105));var _0x42b8=function(_0x46aff0,_0x122890){_0x46aff0=_0x46aff0-0x0;var _0x9d78cf=_0x2b84[_0x46aff0];return _0x9d78cf;};'use strict';var express=require(_0x42b8('0x0'));var passport=require('passport');var router=express[_0x42b8('0x1')]();var controller=require(_0x42b8('0x2'));var userController=require(_0x42b8('0x3'));var authService=require(_0x42b8('0x4'));router['get']('/',controller[_0x42b8('0x5')]);router[_0x42b8('0x6')](_0x42b8('0x7'),controller[_0x42b8('0x8')],authService[_0x42b8('0x9')],userController[_0x42b8('0x5')],authService[_0x42b8('0xa')]);module[_0x42b8('0xb')]=router;