Built motion from commit (unavailable).|2.5.21
[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 _0x593e=['../../components/auth/service','get','login','/callback','callback','isMiddleware','setTokenCookie','exports','express','passport','Router','./authGoogle.controller','../user/user.controller.js'];(function(_0xda6a82,_0x5f00f0){var _0xbacb19=function(_0x31fe92){while(--_0x31fe92){_0xda6a82['push'](_0xda6a82['shift']());}};_0xbacb19(++_0x5f00f0);}(_0x593e,0xcb));var _0xe593=function(_0x1969c1,_0x4f72f8){_0x1969c1=_0x1969c1-0x0;var _0xab1353=_0x593e[_0x1969c1];return _0xab1353;};'use strict';var express=require(_0xe593('0x0'));var passport=require(_0xe593('0x1'));var router=express[_0xe593('0x2')]();var controller=require(_0xe593('0x3'));var userController=require(_0xe593('0x4'));var authService=require(_0xe593('0x5'));router[_0xe593('0x6')]('/',controller[_0xe593('0x7')]);router['get'](_0xe593('0x8'),controller[_0xe593('0x9')],authService[_0xe593('0xa')],userController[_0xe593('0x7')],authService[_0xe593('0xb')]);module[_0xe593('0xc')]=router;