Type that provides a response to a login attempt. Successful attempts return a SUCCESS flag and message and echo the username. Failed attempts return a FAILURE flag and a message that describes the reason for failing.
| name | data type | description |
|---|---|---|
| loginResult | LoginResult | |
| message | string | |
| userInfo | UserInfo |
Example
{
"loginResult" : "FAILURE",
"message" : "...",
"userInfo" : {
"username" : "...",
"displayName" : "..."
}
}