public class SessionData
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
accountType |
java.lang.String |
authKey |
long |
createStamp |
java.lang.String |
dataLocation |
java.lang.String |
defaultEmail |
java.lang.String |
domainUid |
java.lang.String |
familyNames |
java.lang.String |
formatedName |
java.lang.String |
givenNames |
java.lang.String |
login |
java.lang.String |
loginAtDomain |
LoginResponse.Status |
passwordStatus |
boolean |
privateComputer |
java.util.Set<java.lang.String> |
roles |
java.lang.String |
rolesAsString |
java.util.Map<java.lang.String,java.lang.String> |
settings |
protected java.lang.String |
userUid |
Constructor and Description |
---|
SessionData(User user) |
Modifier and Type | Method and Description |
---|---|
static SessionData |
fromJson(io.vertx.core.json.JsonObject jsonObject) |
long |
getLastPing() |
java.util.Map<java.lang.String,java.lang.String> |
getSettings() |
java.lang.String |
getUserUid() |
boolean |
isPrivateComputer() |
void |
setLastPing(long lastPing) |
void |
setPrivateComputer(boolean privateComputer) |
void |
setRole(java.util.Set<java.lang.String> roles) |
void |
setRole(java.lang.String rolesAsString) |
void |
setSettings(java.util.Map<java.lang.String,java.lang.String> settings) |
static io.vertx.core.json.JsonObject |
toJson(SessionData sd) |
public java.lang.String authKey
public LoginResponse.Status passwordStatus
public java.util.Map<java.lang.String,java.lang.String> settings
public boolean privateComputer
public java.lang.String loginAtDomain
public java.lang.String domainUid
public java.lang.String rolesAsString
public java.util.Set<java.lang.String> roles
protected java.lang.String userUid
public final long createStamp
public final java.lang.String accountType
public final java.lang.String login
public final java.lang.String defaultEmail
public final java.lang.String givenNames
public final java.lang.String familyNames
public final java.lang.String formatedName
public final java.lang.String dataLocation
public SessionData(User user)
public java.lang.String getUserUid()
public java.util.Map<java.lang.String,java.lang.String> getSettings()
public void setSettings(java.util.Map<java.lang.String,java.lang.String> settings)
public boolean isPrivateComputer()
public void setPrivateComputer(boolean privateComputer)
public long getLastPing()
public void setLastPing(long lastPing)
public void setRole(java.util.Set<java.lang.String> roles)
public void setRole(java.lang.String rolesAsString)
public static io.vertx.core.json.JsonObject toJson(SessionData sd)
public static SessionData fromJson(io.vertx.core.json.JsonObject jsonObject)
Copyright © 2021. All Rights Reserved.