Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / cloudProvider / index.js
index 3aa7b9f..77250de 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa98f=['isAuthenticated','/:id','show','post','create','update','destroy','exports','multer','util','Router','../../config/environment','./cloudProvider.controller','get'];(function(_0x1882d2,_0x4e6f90){var _0x30e159=function(_0x30a8d4){while(--_0x30a8d4){_0x1882d2['push'](_0x1882d2['shift']());}};_0x30e159(++_0x4e6f90);}(_0xa98f,0x6a));var _0xfa98=function(_0x2a74a6,_0x10592f){_0x2a74a6=_0x2a74a6-0x0;var _0xc2e34a=_0xa98f[_0x2a74a6];return _0xc2e34a;};'use strict';var multer=require(_0xfa98('0x0'));var util=require(_0xfa98('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xfa98('0x2')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xfa98('0x3'));var controller=require(_0xfa98('0x4'));router[_0xfa98('0x5')]('/',auth[_0xfa98('0x6')](),controller['index']);router[_0xfa98('0x5')](_0xfa98('0x7'),auth[_0xfa98('0x6')](),controller[_0xfa98('0x8')]);router[_0xfa98('0x9')]('/',auth['isAuthenticated'](),controller[_0xfa98('0xa')]);router['put'](_0xfa98('0x7'),auth[_0xfa98('0x6')](),controller[_0xfa98('0xb')]);router['delete'](_0xfa98('0x7'),auth['isAuthenticated'](),controller[_0xfa98('0xc')]);module[_0xfa98('0xd')]=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