Built motion from commit (unavailable).|2.5.22
[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 _0x0d4e=['../user/user.controller.js','../../components/auth/service','get','login','callback','isMiddleware','setTokenCookie','express','passport','Router','./authGoogle.controller'];(function(_0x29d915,_0x54a040){var _0x160f86=function(_0x237dfa){while(--_0x237dfa){_0x29d915['push'](_0x29d915['shift']());}};_0x160f86(++_0x54a040);}(_0x0d4e,0x1ca));var _0xe0d4=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0x0d4e[_0x1cc8fe];return _0x230054;};'use strict';var express=require(_0xe0d4('0x0'));var passport=require(_0xe0d4('0x1'));var router=express[_0xe0d4('0x2')]();var controller=require(_0xe0d4('0x3'));var userController=require(_0xe0d4('0x4'));var authService=require(_0xe0d4('0x5'));router[_0xe0d4('0x6')]('/',controller[_0xe0d4('0x7')]);router[_0xe0d4('0x6')]('/callback',controller[_0xe0d4('0x8')],authService[_0xe0d4('0x9')],userController[_0xe0d4('0x7')],authService[_0xe0d4('0xa')]);module['exports']=router;