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

21 lines
378 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 {
constructor(success, message) {
2020-10-16 07:45:58 +00:00
/**
* Result of the login operation
* @type Boolean
*/
this.success = success;
2020-10-16 07:45:58 +00:00
/**
* Login response message
* @type String
*/
this.message = message;
2020-10-16 07:45:58 +00:00
}
2020-09-29 15:11:43 +00:00
}
2020-10-16 08:05:28 +00:00
module.exports = LoginResult;