"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "bigbluebutton-html5/imports/ui/services/auth/index.js" between
bigbluebutton-2.3.6.tar.gz and bigbluebutton-2.3.7.tar.gz

About: BigBlueButton is a complete web conferencing system (mainly designed for online learning).

index.js  (bigbluebutton-2.3.6):index.js  (bigbluebutton-2.3.7)
skipping to change at line 227 skipping to change at line 227
const validationTimeout = setTimeout(() => { const validationTimeout = setTimeout(() => {
computation.stop(); computation.stop();
reject({ reject({
error: 408, error: 408,
description: 'Authentication timeout', description: 'Authentication timeout',
}); });
}, CONNECTION_TIMEOUT); }, CONNECTION_TIMEOUT);
makeCall('validateAuthToken', this.meetingID, this.userID, this.token, thi s.externUserID); makeCall('validateAuthToken', this.meetingID, this.userID, this.token, thi s.externUserID);
Meteor.subscribe('auth-token-validation', { meetingId: this.meetingID, use rId: this.userID }); const authTokenSubscription = Meteor.subscribe('auth-token-validation', { meetingId: this.meetingID, userId: this.userID });
Meteor.subscribe('current-user'); Meteor.subscribe('current-user');
Tracker.autorun((c) => { Tracker.autorun((c) => {
computation = c; computation = c;
if (!authTokenSubscription.ready()) {
return;
}
const selector = { const selector = {
connectionId: Meteor.connection._lastSessionId, connectionId: Meteor.connection._lastSessionId,
}; };
const authenticationTokenValidation = AuthTokenValidation.findOne(select or); const authenticationTokenValidation = AuthTokenValidation.findOne(select or);
if (!authenticationTokenValidation) return; if (!authenticationTokenValidation) return;
switch (authenticationTokenValidation.validationStatus) { switch (authenticationTokenValidation.validationStatus) {
case ValidationStates.INVALID: case ValidationStates.INVALID:
 End of changes. 2 change blocks. 
1 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)