Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / cloudProvider / index.js
index f52d301..f3649ed 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc70a=['isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./cloudProvider.controller','get'];(function(_0x1215fb,_0x46c711){var _0x2d63bd=function(_0x292b5c){while(--_0x292b5c){_0x1215fb['push'](_0x1215fb['shift']());}};_0x2d63bd(++_0x46c711);}(_0xc70a,0x1c3));var _0xac70=function(_0x4c3326,_0x2015b8){_0x4c3326=_0x4c3326-0x0;var _0x3ea497=_0xc70a[_0x4c3326];return _0x3ea497;};'use strict';var multer=require(_0xac70('0x0'));var util=require('util');var path=require(_0xac70('0x1'));var timeout=require(_0xac70('0x2'));var express=require(_0xac70('0x3'));var router=express[_0xac70('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xac70('0x5'));var config=require(_0xac70('0x6'));var controller=require(_0xac70('0x7'));router[_0xac70('0x8')]('/',auth[_0xac70('0x9')](),controller[_0xac70('0xa')]);router[_0xac70('0x8')](_0xac70('0xb'),auth['isAuthenticated'](),controller[_0xac70('0xc')]);router[_0xac70('0xd')]('/',auth[_0xac70('0x9')](),controller[_0xac70('0xe')]);router[_0xac70('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xac70('0x10')]);router[_0xac70('0x11')](_0xac70('0xb'),auth[_0xac70('0x9')](),controller[_0xac70('0x12')]);module[_0xac70('0x13')]=router;
\ No newline at end of file
+var _0xadb5=['put','update','delete','destroy','/:id/oauth2/microsoft/authorize/','/oauth2/microsoft/callback','oauth2MicrosoftCallback','exports','Router','./cloudProvider.controller','get','isAuthenticated','/:id','post','create'];(function(_0x5bb733,_0x2276bc){var _0x4291a2=function(_0x326053){while(--_0x326053){_0x5bb733['push'](_0x5bb733['shift']());}};_0x4291a2(++_0x2276bc);}(_0xadb5,0xad));var _0x5adb=function(_0x46583e,_0x10ffa4){_0x46583e=_0x46583e-0x0;var _0x549150=_0xadb5[_0x46583e];return _0x549150;};'use strict';var express=require('express');var router=express[_0x5adb('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0x5adb('0x1'));router[_0x5adb('0x2')]('/',auth[_0x5adb('0x3')](),controller['index']);router[_0x5adb('0x2')](_0x5adb('0x4'),auth[_0x5adb('0x3')](),controller['show']);router[_0x5adb('0x5')]('/',auth[_0x5adb('0x3')](),controller[_0x5adb('0x6')]);router[_0x5adb('0x7')](_0x5adb('0x4'),auth[_0x5adb('0x3')](),controller[_0x5adb('0x8')]);router[_0x5adb('0x9')](_0x5adb('0x4'),auth[_0x5adb('0x3')](),controller[_0x5adb('0xa')]);router[_0x5adb('0x2')](_0x5adb('0xb'),auth[_0x5adb('0x3')](),controller['oauth2MicrosoftAuthorize']);router['post'](_0x5adb('0xc'),controller[_0x5adb('0xd')]);module[_0x5adb('0xe')]=router;
\ No newline at end of file