Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / cloudProvider / index.js
index c62ab0f..2396505 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x99a1=['destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./cloudProvider.controller','isAuthenticated','index','get','/:id','show','post','create','put','update'];(function(_0xd1bb78,_0xd14588){var _0x214343=function(_0x5cb14b){while(--_0x5cb14b){_0xd1bb78['push'](_0xd1bb78['shift']());}};_0x214343(++_0xd14588);}(_0x99a1,0x1ce));var _0x199a=function(_0x5b6a04,_0x4d665e){_0x5b6a04=_0x5b6a04-0x0;var _0x2a6cb1=_0x99a1[_0x5b6a04];return _0x2a6cb1;};'use strict';var multer=require(_0x199a('0x0'));var util=require(_0x199a('0x1'));var path=require(_0x199a('0x2'));var timeout=require(_0x199a('0x3'));var express=require(_0x199a('0x4'));var router=express['Router']();var auth=require(_0x199a('0x5'));var interaction=require(_0x199a('0x6'));var config=require(_0x199a('0x7'));var controller=require(_0x199a('0x8'));router['get']('/',auth[_0x199a('0x9')](),controller[_0x199a('0xa')]);router[_0x199a('0xb')](_0x199a('0xc'),auth[_0x199a('0x9')](),controller[_0x199a('0xd')]);router[_0x199a('0xe')]('/',auth[_0x199a('0x9')](),controller[_0x199a('0xf')]);router[_0x199a('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x199a('0x11')]);router['delete'](_0x199a('0xc'),auth['isAuthenticated'](),controller[_0x199a('0x12')]);module[_0x199a('0x13')]=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(_0x919445,_0x5467dc){var _0x511b3e=function(_0xde10f3){while(--_0xde10f3){_0x919445['push'](_0x919445['shift']());}};_0x511b3e(++_0x5467dc);}(_0x5f2f,0x73));var _0xf5f2=function(_0x23793e,_0x275a38){_0x23793e=_0x23793e-0x0;var _0xa8c46f=_0x5f2f[_0x23793e];return _0xa8c46f;};'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