Built motion from commit e02f907f.|2.6.14
[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 _0x7acc=['./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','/callback','callback','isMiddleware','setTokenCookie','exports','express','passport','Router'];(function(_0x7c0674,_0x1e846b){var _0x4a5358=function(_0x4e9902){while(--_0x4e9902){_0x7c0674['push'](_0x7c0674['shift']());}};_0x4a5358(++_0x1e846b);}(_0x7acc,0x1b7));var _0xc7ac=function(_0x28b81a,_0x2722fe){_0x28b81a=_0x28b81a-0x0;var _0x473a8b=_0x7acc[_0x28b81a];return _0x473a8b;};'use strict';var express=require(_0xc7ac('0x0'));var passport=require(_0xc7ac('0x1'));var router=express[_0xc7ac('0x2')]();var controller=require(_0xc7ac('0x3'));var userController=require(_0xc7ac('0x4'));var authService=require(_0xc7ac('0x5'));router[_0xc7ac('0x6')]('/',controller[_0xc7ac('0x7')]);router[_0xc7ac('0x6')](_0xc7ac('0x8'),controller[_0xc7ac('0x9')],authService[_0xc7ac('0xa')],userController[_0xc7ac('0x7')],authService[_0xc7ac('0xb')]);module[_0xc7ac('0xc')]=router;