code: public ApiResponse<CheckTokenResponse> checkTokenWithHttpInfo(TokenRequest tokenInfo) throws ApiException {
          com.squareup.okhttp.Call call = checkTokenValidateBeforeCall(tokenInfo, null, null);
          Type localVarReturnType = new TypeToken<CheckTokenResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Check Token
  (Deprecated) Check Token. See tokenInfo
  @param tokenInfo Token object to be checked (required)
  @return ApiResponse&lt;CheckTokenResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body