Built motion from commit fe909640.|2.6.8
[motion2.git] / server / api / cloudProvider / index.js
index 2d27022..6eb60b5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6ff6=['fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/:id','post','create','put','update','delete','path','connect-timeout','express','Router'];(function(_0x1d42c3,_0x35ec12){var _0x356275=function(_0x3c0d98){while(--_0x3c0d98){_0x1d42c3['push'](_0x1d42c3['shift']());}};_0x356275(++_0x35ec12);}(_0x6ff6,0x182));var _0x66ff=function(_0xf94e31,_0x252426){_0xf94e31=_0xf94e31-0x0;var _0xd68157=_0x6ff6[_0xf94e31];return _0xd68157;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x66ff('0x0'));var timeout=require(_0x66ff('0x1'));var express=require(_0x66ff('0x2'));var router=express[_0x66ff('0x3')]();var fs_extra=require(_0x66ff('0x4'));var auth=require(_0x66ff('0x5'));var interaction=require(_0x66ff('0x6'));var config=require('../../config/environment');var controller=require('./cloudProvider.controller');router[_0x66ff('0x7')]('/',auth[_0x66ff('0x8')](),controller['index']);router['get'](_0x66ff('0x9'),auth[_0x66ff('0x8')](),controller['show']);router[_0x66ff('0xa')]('/',auth[_0x66ff('0x8')](),controller[_0x66ff('0xb')]);router[_0x66ff('0xc')](_0x66ff('0x9'),auth[_0x66ff('0x8')](),controller[_0x66ff('0xd')]);router[_0x66ff('0xe')]('/:id',auth['isAuthenticated'](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x5f66=['index','post','/:id','update','delete','/:id/oauth2/microsoft/authorize/','oauth2MicrosoftAuthorize','oauth2MicrosoftCallback','Router','./cloudProvider.controller','get','isAuthenticated'];(function(_0x5d958b,_0x31407d){var _0x25eda3=function(_0xcbd1a7){while(--_0xcbd1a7){_0x5d958b['push'](_0x5d958b['shift']());}};_0x25eda3(++_0x31407d);}(_0x5f66,0x1a0));var _0x65f6=function(_0x4154a6,_0x2c0b8e){_0x4154a6=_0x4154a6-0x0;var _0x3b2786=_0x5f66[_0x4154a6];return _0x3b2786;};'use strict';var express=require('express');var router=express[_0x65f6('0x0')]();var auth=require('../../components/auth/service');var controller=require(_0x65f6('0x1'));router[_0x65f6('0x2')]('/',auth[_0x65f6('0x3')](),controller[_0x65f6('0x4')]);router[_0x65f6('0x2')]('/:id',auth[_0x65f6('0x3')](),controller['show']);router[_0x65f6('0x5')]('/',auth[_0x65f6('0x3')](),controller['create']);router['put'](_0x65f6('0x6'),auth[_0x65f6('0x3')](),controller[_0x65f6('0x7')]);router[_0x65f6('0x8')](_0x65f6('0x6'),auth[_0x65f6('0x3')](),controller['destroy']);router['get'](_0x65f6('0x9'),auth[_0x65f6('0x3')](),controller[_0x65f6('0xa')]);router[_0x65f6('0x5')]('/oauth2/microsoft/callback',controller[_0x65f6('0xb')]);module['exports']=router;
\ No newline at end of file