Class SessionRepresentation
java.lang.Object
org.keycloak.representations.account.SessionRepresentation
Created by st on 29/03/17.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()Note: will not be an address when a proxy does not provide a valid oneintintvoidsetBrowser(String browser) voidsetClients(List<ClientRepresentation> clients) voidsetCurrent(Boolean current) voidsetExpires(int expires) voidvoidsetIpAddress(String ipAddress) voidsetLastAccess(int lastAccess) voidsetStarted(int started)
-
Constructor Details
-
SessionRepresentation
public SessionRepresentation()
-
-
Method Details
-
getId
-
setId
-
getIpAddress
Note: will not be an address when a proxy does not provide a valid one- Returns:
- the ip address
-
setIpAddress
-
getStarted
public int getStarted() -
setStarted
public void setStarted(int started) -
getLastAccess
public int getLastAccess() -
setLastAccess
public void setLastAccess(int lastAccess) -
getExpires
public int getExpires() -
setExpires
public void setExpires(int expires) -
getClients
-
setClients
-
setBrowser
-
getBrowser
-
getCurrent
-
setCurrent
-