Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / cloudProvider / index.js
index 5d78d52..f12dd96 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2d5c=['connect-timeout','Router','../../components/interaction/service','../../config/environment','./cloudProvider.controller','get','isAuthenticated','index','/:id','post','create','put','update','delete','destroy'];(function(_0x4a256b,_0x43fbf9){var _0x13cbfd=function(_0x39a336){while(--_0x39a336){_0x4a256b['push'](_0x4a256b['shift']());}};_0x13cbfd(++_0x43fbf9);}(_0x2d5c,0x13b));var _0xc2d5=function(_0x399933,_0x30f759){_0x399933=_0x399933-0x0;var _0x31819b=_0x2d5c[_0x399933];return _0x31819b;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xc2d5('0x0'));var express=require('express');var router=express[_0xc2d5('0x1')]();var auth=require('../../components/auth/service');var interaction=require(_0xc2d5('0x2'));var config=require(_0xc2d5('0x3'));var controller=require(_0xc2d5('0x4'));router[_0xc2d5('0x5')]('/',auth[_0xc2d5('0x6')](),controller[_0xc2d5('0x7')]);router[_0xc2d5('0x5')](_0xc2d5('0x8'),auth[_0xc2d5('0x6')](),controller['show']);router[_0xc2d5('0x9')]('/',auth['isAuthenticated'](),controller[_0xc2d5('0xa')]);router[_0xc2d5('0xb')](_0xc2d5('0x8'),auth[_0xc2d5('0x6')](),controller[_0xc2d5('0xc')]);router[_0xc2d5('0xd')]('/:id',auth[_0xc2d5('0x6')](),controller[_0xc2d5('0xe')]);module['exports']=router;
\ No newline at end of file
+var _0x1261=['/:id','show','create','put','update','delete','/:id/oauth2/microsoft/authorize/','post','exports','Router','../../components/auth/service','./cloudProvider.controller','get','isAuthenticated','index'];(function(_0x420513,_0x30eae3){var _0x1b44ec=function(_0x644f88){while(--_0x644f88){_0x420513['push'](_0x420513['shift']());}};_0x1b44ec(++_0x30eae3);}(_0x1261,0x144));var _0x1126=function(_0xe5d54f,_0x143d93){_0xe5d54f=_0xe5d54f-0x0;var _0x2a74bf=_0x1261[_0xe5d54f];return _0x2a74bf;};'use strict';var express=require('express');var router=express[_0x1126('0x0')]();var auth=require(_0x1126('0x1'));var controller=require(_0x1126('0x2'));router[_0x1126('0x3')]('/',auth[_0x1126('0x4')](),controller[_0x1126('0x5')]);router[_0x1126('0x3')](_0x1126('0x6'),auth[_0x1126('0x4')](),controller[_0x1126('0x7')]);router['post']('/',auth['isAuthenticated'](),controller[_0x1126('0x8')]);router[_0x1126('0x9')]('/:id',auth[_0x1126('0x4')](),controller[_0x1126('0xa')]);router[_0x1126('0xb')](_0x1126('0x6'),auth[_0x1126('0x4')](),controller['destroy']);router[_0x1126('0x3')](_0x1126('0xc'),auth[_0x1126('0x4')](),controller['oauth2MicrosoftAuthorize']);router[_0x1126('0xd')]('/oauth2/microsoft/callback',controller['oauth2MicrosoftCallback']);module[_0x1126('0xe')]=router;
\ No newline at end of file