2020-10-16 08:06:03 +00:00
|
|
|
"use strict";
|
2020-10-02 12:01:51 +00:00
|
|
|
|
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;
|