Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / cloudProvider / index.js
index 0d0385b..77250de 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xac19=['connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','show','post','create','put','/:id','update','delete','destroy','exports','util','path'];(function(_0x4be6f4,_0x385b23){var _0x3e9098=function(_0x17ff9a){while(--_0x17ff9a){_0x4be6f4['push'](_0x4be6f4['shift']());}};_0x3e9098(++_0x385b23);}(_0xac19,0x130));var _0x9ac1=function(_0x1aa5eb,_0x4efec4){_0x1aa5eb=_0x1aa5eb-0x0;var _0x45f0fa=_0xac19[_0x1aa5eb];return _0x45f0fa;};'use strict';var multer=require('multer');var util=require(_0x9ac1('0x0'));var path=require(_0x9ac1('0x1'));var timeout=require(_0x9ac1('0x2'));var express=require(_0x9ac1('0x3'));var router=express['Router']();var fs_extra=require(_0x9ac1('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x9ac1('0x5'));var config=require(_0x9ac1('0x6'));var controller=require('./cloudProvider.controller');router[_0x9ac1('0x7')]('/',auth[_0x9ac1('0x8')](),controller['index']);router['get']('/:id',auth[_0x9ac1('0x8')](),controller[_0x9ac1('0x9')]);router[_0x9ac1('0xa')]('/',auth[_0x9ac1('0x8')](),controller[_0x9ac1('0xb')]);router[_0x9ac1('0xc')](_0x9ac1('0xd'),auth[_0x9ac1('0x8')](),controller[_0x9ac1('0xe')]);router[_0x9ac1('0xf')](_0x9ac1('0xd'),auth[_0x9ac1('0x8')](),controller[_0x9ac1('0x10')]);module[_0x9ac1('0x11')]=router;
\ No newline at end of file
+var _0x5f2f=['exports','express','Router','../../components/auth/service','./cloudProvider.controller','get','isAuthenticated','index','show','post','create','put','/:id','update','delete','destroy','/:id/oauth2/microsoft/authorize/','oauth2MicrosoftAuthorize','oauth2MicrosoftCallback'];(function(_0x56608c,_0x29eb74){var _0x3c7fb0=function(_0x154b1c){while(--_0x154b1c){_0x56608c['push'](_0x56608c['shift']());}};_0x3c7fb0(++_0x29eb74);}(_0x5f2f,0x73));var _0xf5f2=function(_0x3f8cbc,_0x2b0793){_0x3f8cbc=_0x3f8cbc-0x0;var _0x42793d=_0x5f2f[_0x3f8cbc];return _0x42793d;};'use strict';var express=require(_0xf5f2('0x0'));var router=express[_0xf5f2('0x1')]();var auth=require(_0xf5f2('0x2'));var controller=require(_0xf5f2('0x3'));router[_0xf5f2('0x4')]('/',auth[_0xf5f2('0x5')](),controller[_0xf5f2('0x6')]);router[_0xf5f2('0x4')]('/:id',auth['isAuthenticated'](),controller[_0xf5f2('0x7')]);router[_0xf5f2('0x8')]('/',auth[_0xf5f2('0x5')](),controller[_0xf5f2('0x9')]);router[_0xf5f2('0xa')](_0xf5f2('0xb'),auth['isAuthenticated'](),controller[_0xf5f2('0xc')]);router[_0xf5f2('0xd')](_0xf5f2('0xb'),auth['isAuthenticated'](),controller[_0xf5f2('0xe')]);router[_0xf5f2('0x4')](_0xf5f2('0xf'),auth['isAuthenticated'](),controller[_0xf5f2('0x10')]);router['post']('/oauth2/microsoft/callback',controller[_0xf5f2('0x11')]);module[_0xf5f2('0x12')]=router;
\ No newline at end of file