Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / cloudProvider / index.js
index 97cde5c..66c1f1e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfbc5=['destroy','exports','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','/:id','show','post','put','update','delete'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0xfbc5,0x1ab));var _0x5fbc=function(_0x314a03,_0x3d67bc){_0x314a03=_0x314a03-0x0;var _0x30eea7=_0xfbc5[_0x314a03];return _0x30eea7;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x5fbc('0x0'));var timeout=require(_0x5fbc('0x1'));var express=require(_0x5fbc('0x2'));var router=express[_0x5fbc('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x5fbc('0x4'));var interaction=require(_0x5fbc('0x5'));var config=require(_0x5fbc('0x6'));var controller=require('./cloudProvider.controller');router['get']('/',auth[_0x5fbc('0x7')](),controller[_0x5fbc('0x8')]);router['get'](_0x5fbc('0x9'),auth['isAuthenticated'](),controller[_0x5fbc('0xa')]);router[_0x5fbc('0xb')]('/',auth[_0x5fbc('0x7')](),controller['create']);router[_0x5fbc('0xc')]('/:id',auth['isAuthenticated'](),controller[_0x5fbc('0xd')]);router[_0x5fbc('0xe')](_0x5fbc('0x9'),auth[_0x5fbc('0x7')](),controller[_0x5fbc('0xf')]);module[_0x5fbc('0x10')]=router;
\ No newline at end of file
+var _0xdb28=['delete','destroy','/:id/oauth2/microsoft/authorize/','oauth2MicrosoftAuthorize','/oauth2/microsoft/callback','oauth2MicrosoftCallback','express','Router','../../components/auth/service','./cloudProvider.controller','isAuthenticated','index','get','/:id','post','update'];(function(_0x191e9b,_0x1fca09){var _0x35ce07=function(_0x32397d){while(--_0x32397d){_0x191e9b['push'](_0x191e9b['shift']());}};_0x35ce07(++_0x1fca09);}(_0xdb28,0x106));var _0x8db2=function(_0x191703,_0x1bedd2){_0x191703=_0x191703-0x0;var _0x5cb9af=_0xdb28[_0x191703];return _0x5cb9af;};'use strict';var express=require(_0x8db2('0x0'));var router=express[_0x8db2('0x1')]();var auth=require(_0x8db2('0x2'));var controller=require(_0x8db2('0x3'));router['get']('/',auth[_0x8db2('0x4')](),controller[_0x8db2('0x5')]);router[_0x8db2('0x6')](_0x8db2('0x7'),auth[_0x8db2('0x4')](),controller['show']);router[_0x8db2('0x8')]('/',auth[_0x8db2('0x4')](),controller['create']);router['put'](_0x8db2('0x7'),auth[_0x8db2('0x4')](),controller[_0x8db2('0x9')]);router[_0x8db2('0xa')](_0x8db2('0x7'),auth[_0x8db2('0x4')](),controller[_0x8db2('0xb')]);router['get'](_0x8db2('0xc'),auth[_0x8db2('0x4')](),controller[_0x8db2('0xd')]);router['post'](_0x8db2('0xe'),controller[_0x8db2('0xf')]);module['exports']=router;
\ No newline at end of file