Class DeviceRepresentation

java.lang.Object
org.keycloak.representations.account.DeviceRepresentation

public class DeviceRepresentation extends Object
Author:
Pedro Igor
  • Field Details

  • Constructor Details

    • DeviceRepresentation

      public DeviceRepresentation()
  • Method Details

    • unknown

      public static DeviceRepresentation unknown()
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getIpAddress

      public String getIpAddress()
    • setIpAddress

      public void setIpAddress(String ip)
    • getOs

      public String getOs()
    • setOs

      public void setOs(String os)
    • getOsVersion

      public String getOsVersion()
    • setOsVersion

      public void setOsVersion(String osVersion)
    • getBrowser

      public String getBrowser()
    • setBrowser

      public void setBrowser(String browser)
    • setBrowser

      public void setBrowser(String browser, String version)
    • getDevice

      public String getDevice()
    • setDevice

      public void setDevice(String device)
    • getLastAccess

      public int getLastAccess()
    • setLastAccess

      public void setLastAccess(int lastAccess)
    • getCurrent

      public Boolean getCurrent()
    • setCurrent

      public void setCurrent(Boolean current)
    • addSession

      public void addSession(SessionRepresentation sessionRep)
    • getSessions

      public List<SessionRepresentation> getSessions()
    • setMobile

      public void setMobile(boolean mobile)
    • isMobile

      public boolean isMobile()