Built motion from commit a61a4a20.|2.5.46
[motion2.git] / server / api / cloudProvider / index.js
index 5ca9d7c..0e8a6bc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xabe1=['multer','util','path','connect-timeout','express','Router','../../config/environment','./cloudProvider.controller','get','isAuthenticated','index','/:id','post','put','update','delete','destroy','exports'];(function(_0x5ddb1c,_0x5ea4df){var _0x354adc=function(_0x2dfb1f){while(--_0x2dfb1f){_0x5ddb1c['push'](_0x5ddb1c['shift']());}};_0x354adc(++_0x5ea4df);}(_0xabe1,0x1c2));var _0x1abe=function(_0x3a081d,_0x340f67){_0x3a081d=_0x3a081d-0x0;var _0x279225=_0xabe1[_0x3a081d];return _0x279225;};'use strict';var multer=require(_0x1abe('0x0'));var util=require(_0x1abe('0x1'));var path=require(_0x1abe('0x2'));var timeout=require(_0x1abe('0x3'));var express=require(_0x1abe('0x4'));var router=express[_0x1abe('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x1abe('0x6'));var controller=require(_0x1abe('0x7'));router[_0x1abe('0x8')]('/',auth[_0x1abe('0x9')](),controller[_0x1abe('0xa')]);router[_0x1abe('0x8')](_0x1abe('0xb'),auth[_0x1abe('0x9')](),controller['show']);router[_0x1abe('0xc')]('/',auth[_0x1abe('0x9')](),controller['create']);router[_0x1abe('0xd')](_0x1abe('0xb'),auth[_0x1abe('0x9')](),controller[_0x1abe('0xe')]);router[_0x1abe('0xf')]('/:id',auth[_0x1abe('0x9')](),controller[_0x1abe('0x10')]);module[_0x1abe('0x11')]=router;
\ No newline at end of file
+var _0x7a54=['isAuthenticated','/:id','show','post','create','delete','/:id/oauth2/microsoft/authorize/','oauth2MicrosoftAuthorize','oauth2MicrosoftCallback','exports','express','Router','../../components/auth/service','get'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0x7a54,0x106));var _0x47a5=function(_0x44c162,_0x430d08){_0x44c162=_0x44c162-0x0;var _0x512d8b=_0x7a54[_0x44c162];return _0x512d8b;};'use strict';var express=require(_0x47a5('0x0'));var router=express[_0x47a5('0x1')]();var auth=require(_0x47a5('0x2'));var controller=require('./cloudProvider.controller');router[_0x47a5('0x3')]('/',auth[_0x47a5('0x4')](),controller['index']);router[_0x47a5('0x3')](_0x47a5('0x5'),auth[_0x47a5('0x4')](),controller[_0x47a5('0x6')]);router[_0x47a5('0x7')]('/',auth['isAuthenticated'](),controller[_0x47a5('0x8')]);router['put'](_0x47a5('0x5'),auth[_0x47a5('0x4')](),controller['update']);router[_0x47a5('0x9')]('/:id',auth['isAuthenticated'](),controller['destroy']);router[_0x47a5('0x3')](_0x47a5('0xa'),auth['isAuthenticated'](),controller[_0x47a5('0xb')]);router['post']('/oauth2/microsoft/callback',controller[_0x47a5('0xc')]);module[_0x47a5('0xd')]=router;
\ No newline at end of file