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

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