Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / server / api / authGoogle / index.js
index 7253ea8..99a3f05 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfb4c=['./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','isMiddleware','exports','express','passport','Router'];(function(_0xa4f435,_0x5be8a0){var _0x3b1cb6=function(_0x3eef8e){while(--_0x3eef8e){_0xa4f435['push'](_0xa4f435['shift']());}};_0x3b1cb6(++_0x5be8a0);}(_0xfb4c,0xc5));var _0xcfb4=function(_0x22376f,_0x1d3e6c){_0x22376f=_0x22376f-0x0;var _0x45c934=_0xfb4c[_0x22376f];return _0x45c934;};'use strict';var express=require(_0xcfb4('0x0'));var passport=require(_0xcfb4('0x1'));var router=express[_0xcfb4('0x2')]();var controller=require(_0xcfb4('0x3'));var userController=require(_0xcfb4('0x4'));var authService=require(_0xcfb4('0x5'));router[_0xcfb4('0x6')]('/',controller[_0xcfb4('0x7')]);router[_0xcfb4('0x6')]('/callback',controller['callback'],authService[_0xcfb4('0x8')],userController['login'],authService['setTokenCookie']);module[_0xcfb4('0x9')]=router;
\ No newline at end of file
+var _0x88ce=['exports','passport','./authGoogle.controller','../user/user.controller.js','../../components/auth/service','get','login','callback','isMiddleware','setTokenCookie'];(function(_0x22a9b7,_0x58e5d4){var _0x8a8568=function(_0x271479){while(--_0x271479){_0x22a9b7['push'](_0x22a9b7['shift']());}};_0x8a8568(++_0x58e5d4);}(_0x88ce,0xab));var _0xe88c=function(_0x190c2d,_0x2c9528){_0x190c2d=_0x190c2d-0x0;var _0x19f5d3=_0x88ce[_0x190c2d];return _0x19f5d3;};'use strict';var express=require('express');var passport=require(_0xe88c('0x0'));var router=express['Router']();var controller=require(_0xe88c('0x1'));var userController=require(_0xe88c('0x2'));var authService=require(_0xe88c('0x3'));router[_0xe88c('0x4')]('/',controller[_0xe88c('0x5')]);router[_0xe88c('0x4')]('/callback',controller[_0xe88c('0x6')],authService[_0xe88c('0x7')],userController[_0xe88c('0x5')],authService[_0xe88c('0x8')]);module[_0xe88c('0x9')]=router;
\ No newline at end of file