bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/users/server/methods.js
2017-08-01 12:00:07 -03:00

16 lines
533 B
JavaScript

import { Meteor } from 'meteor/meteor';
import mapToAcl from '/imports/startup/mapToAcl';
import userLogout from './methods/userLogout';
import validateAuthToken from './methods/validateAuthToken';
import setEmojiStatus from './methods/setEmojiStatus';
import assignPresenter from './methods/assignPresenter';
Meteor.methods(mapToAcl(['methods.userLogout', 'methods.setEmojiStatus', 'methods.assignPresenter',
], {
userLogout,
setEmojiStatus,
assignPresenter,
}));
Meteor.methods({ validateAuthToken2x: validateAuthToken });