Built motion from commit (unavailable).|2.4.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 _0x167e=['../../components/auth/service','get','login','/callback','isMiddleware','setTokenCookie','exports','express','passport','Router','./authGoogle.controller','../user/user.controller.js'];(function(_0x1e3c16,_0x372caa){var _0x47a0c9=function(_0x47f81d){while(--_0x47f81d){_0x1e3c16['push'](_0x1e3c16['shift']());}};_0x47a0c9(++_0x372caa);}(_0x167e,0xa3));var _0xe167=function(_0x4671a6,_0xd25fa){_0x4671a6=_0x4671a6-0x0;var _0x1ade6d=_0x167e[_0x4671a6];return _0x1ade6d;};'use strict';var express=require(_0xe167('0x0'));var passport=require(_0xe167('0x1'));var router=express[_0xe167('0x2')]();var controller=require(_0xe167('0x3'));var userController=require(_0xe167('0x4'));var authService=require(_0xe167('0x5'));router[_0xe167('0x6')]('/',controller[_0xe167('0x7')]);router['get'](_0xe167('0x8'),controller['callback'],authService[_0xe167('0x9')],userController[_0xe167('0x7')],authService[_0xe167('0xa')]);module[_0xe167('0xb')]=router;