F95API/app/scripts/classes/login-result.js

20 lines
354 B
JavaScript
Raw Normal View History

'use strict';
2020-09-29 15:11:43 +00:00
/**
* Object obtained in response to an attempt to login to the portal.
*/
class LoginResult {
2020-10-16 07:45:58 +00:00
constructor() {
/**
* Result of the login operation
* @type Boolean
*/
this.success = false;
/**
* Login response message
* @type String
*/
this.message = '';
}
2020-09-29 15:11:43 +00:00
}
module.exports = LoginResult;