Class UserInfoServerClient

java.lang.Object
com.vaadin.copilot.CopilotServerClient
com.vaadin.copilot.userinfo.UserInfoServerClient

public class UserInfoServerClient extends CopilotServerClient
  • Constructor Details

    • UserInfoServerClient

      public UserInfoServerClient()
  • Method Details

    • getUserInfo

      public UserInfo getUserInfo(String proKey)
    • getUserInfoWithLocalProKey

      public static UserInfo getUserInfoWithLocalProKey()
      Requests to Copilot Server to get user information with local pro key if present
      Returns:
      Returns null when pro key not exist or when request is not succeeded.