Class DeviceRepresentation
java.lang.Object
org.keycloak.representations.account.DeviceRepresentation
- Author:
- Pedro Igor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSession
(SessionRepresentation sessionRep) getId()
int
getOs()
boolean
isMobile()
void
setBrowser
(String browser) void
setBrowser
(String browser, String version) void
setCurrent
(Boolean current) void
void
void
setIpAddress
(String ip) void
setLastAccess
(int lastAccess) void
setMobile
(boolean mobile) void
void
setOsVersion
(String osVersion) static DeviceRepresentation
unknown()
-
Field Details
-
UNKNOWN
- See Also:
-
-
Constructor Details
-
DeviceRepresentation
public DeviceRepresentation()
-
-
Method Details
-
unknown
-
getId
-
setId
-
getIpAddress
-
setIpAddress
-
getOs
-
setOs
-
getOsVersion
-
setOsVersion
-
getBrowser
-
setBrowser
-
setBrowser
-
getDevice
-
setDevice
-
getLastAccess
public int getLastAccess() -
setLastAccess
public void setLastAccess(int lastAccess) -
getCurrent
-
setCurrent
-
addSession
-
getSessions
-
setMobile
public void setMobile(boolean mobile) -
isMobile
public boolean isMobile()
-