Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / api / cloudProvider / index.js
index f52d301..3093fd2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc70a=['isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./cloudProvider.controller','get'];(function(_0x1215fb,_0x46c711){var _0x2d63bd=function(_0x292b5c){while(--_0x292b5c){_0x1215fb['push'](_0x1215fb['shift']());}};_0x2d63bd(++_0x46c711);}(_0xc70a,0x1c3));var _0xac70=function(_0x4c3326,_0x2015b8){_0x4c3326=_0x4c3326-0x0;var _0x3ea497=_0xc70a[_0x4c3326];return _0x3ea497;};'use strict';var multer=require(_0xac70('0x0'));var util=require('util');var path=require(_0xac70('0x1'));var timeout=require(_0xac70('0x2'));var express=require(_0xac70('0x3'));var router=express[_0xac70('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0xac70('0x5'));var config=require(_0xac70('0x6'));var controller=require(_0xac70('0x7'));router[_0xac70('0x8')]('/',auth[_0xac70('0x9')](),controller[_0xac70('0xa')]);router[_0xac70('0x8')](_0xac70('0xb'),auth['isAuthenticated'](),controller[_0xac70('0xc')]);router[_0xac70('0xd')]('/',auth[_0xac70('0x9')](),controller[_0xac70('0xe')]);router[_0xac70('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xac70('0x10')]);router[_0xac70('0x11')](_0xac70('0xb'),auth[_0xac70('0x9')](),controller[_0xac70('0x12')]);module[_0xac70('0x13')]=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(_0x30fa27,_0x5308f7){var _0x3e8406=function(_0x4e4992){while(--_0x4e4992){_0x30fa27['push'](_0x30fa27['shift']());}};_0x3e8406(++_0x5308f7);}(_0xdb28,0x106));var _0x8db2=function(_0x3ac90f,_0x157cdf){_0x3ac90f=_0x3ac90f-0x0;var _0x68e867=_0xdb28[_0x3ac90f];return _0x68e867;};'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