Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / server / api / cloudProvider / index.js
index be3f6d8..866ba82 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcd42=['util','connect-timeout','Router','../../components/interaction/service','./cloudProvider.controller','get','isAuthenticated','index','show','post','put','/:id','update','delete','destroy','exports','multer'];(function(_0x4c5927,_0x59920e){var _0x1a6e81=function(_0x4b8fc2){while(--_0x4b8fc2){_0x4c5927['push'](_0x4c5927['shift']());}};_0x1a6e81(++_0x59920e);}(_0xcd42,0x76));var _0x2cd4=function(_0x3517b0,_0xa5ee5b){_0x3517b0=_0x3517b0-0x0;var _0x178547=_0xcd42[_0x3517b0];return _0x178547;};'use strict';var multer=require(_0x2cd4('0x0'));var util=require(_0x2cd4('0x1'));var path=require('path');var timeout=require(_0x2cd4('0x2'));var express=require('express');var router=express[_0x2cd4('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x2cd4('0x4'));var config=require('../../config/environment');var controller=require(_0x2cd4('0x5'));router[_0x2cd4('0x6')]('/',auth[_0x2cd4('0x7')](),controller[_0x2cd4('0x8')]);router[_0x2cd4('0x6')]('/:id',auth[_0x2cd4('0x7')](),controller[_0x2cd4('0x9')]);router[_0x2cd4('0xa')]('/',auth['isAuthenticated'](),controller['create']);router[_0x2cd4('0xb')](_0x2cd4('0xc'),auth[_0x2cd4('0x7')](),controller[_0x2cd4('0xd')]);router[_0x2cd4('0xe')](_0x2cd4('0xc'),auth[_0x2cd4('0x7')](),controller[_0x2cd4('0xf')]);module[_0x2cd4('0x10')]=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(_0x376b45,_0x5964fb){var _0x2341b3=function(_0x5a7f01){while(--_0x5a7f01){_0x376b45['push'](_0x376b45['shift']());}};_0x2341b3(++_0x5964fb);}(_0x7a54,0x106));var _0x47a5=function(_0xb8b8d4,_0x4ad252){_0xb8b8d4=_0xb8b8d4-0x0;var _0x5aff88=_0x7a54[_0xb8b8d4];return _0x5aff88;};'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