Built motion from commit f94df7f0.|2.5.48
[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 _0x044a=['express','passport','Router','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','/callback','callback','isMiddleware','login','setTokenCookie','exports'];(function(_0x25137d,_0x40cce5){var _0xec8f3a=function(_0x10fb2c){while(--_0x10fb2c){_0x25137d['push'](_0x25137d['shift']());}};_0xec8f3a(++_0x40cce5);}(_0x044a,0x9c));var _0xa044=function(_0x35f57b,_0x2fe9a4){_0x35f57b=_0x35f57b-0x0;var _0x3a442c=_0x044a[_0x35f57b];return _0x3a442c;};'use strict';var express=require(_0xa044('0x0'));var passport=require(_0xa044('0x1'));var router=express[_0xa044('0x2')]();var controller=require(_0xa044('0x3'));var userController=require(_0xa044('0x4'));var authService=require(_0xa044('0x5'));router[_0xa044('0x6')]('/',controller['login']);router['get'](_0xa044('0x7'),controller[_0xa044('0x8')],authService[_0xa044('0x9')],userController[_0xa044('0xa')],authService[_0xa044('0xb')]);module[_0xa044('0xc')]=router;