Package com.vaadin.copilot.userinfo
Class UserInfoServerClient
java.lang.Object
com.vaadin.copilot.CopilotServerClient
com.vaadin.copilot.userinfo.UserInfoServerClient
-
Field Summary
Fields inherited from class com.vaadin.copilot.CopilotServerClient
SERVER_URL_ENV -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUserInfo(String proKey) static UserInfoRequests to Copilot Server to get user information with local pro key if presentMethods inherited from class com.vaadin.copilot.CopilotServerClient
buildRequest, getHttpClient, getLogger, getQueryURI, getServerBaseUrl, readValue, sendReactive, writeAsJsonString
-
Constructor Details
-
UserInfoServerClient
public UserInfoServerClient()
-
-
Method Details
-
getUserInfo
-
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.
-