Class SecurityApi

java.lang.Object
com.symphony.bdk.gen.api.SecurityApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-26T16:14:56.804588655Z[Etc/UTC]") public class SecurityApi extends Object
  • Constructor Details

    • SecurityApi

      public SecurityApi(com.symphony.bdk.http.api.ApiClient apiClient)
  • Method Details

    • getApiClient

      public com.symphony.bdk.http.api.ApiClient getApiClient()
      Get the API cilent
      Returns:
      API client
    • setApiClient

      public void setApiClient(com.symphony.bdk.http.api.ApiClient apiClient)
      Set the API cilent
      Parameters:
      apiClient - an instance of API client
    • v1CompanycertCreatePost

      @Deprecated public SuccessResponse v1CompanycertCreatePost(String sessionToken, CompanyCert cert) throws com.symphony.bdk.http.api.ApiException
      Deprecated.
      Create a company trusted or untrusted certificate
      Parameters:
      sessionToken - Session authentication token. (required)
      cert - (required)
      Returns:
      SuccessResponse
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertCreatePostWithHttpInfo

      @Deprecated public com.symphony.bdk.http.api.ApiResponse<SuccessResponse> v1CompanycertCreatePostWithHttpInfo(String sessionToken, CompanyCert cert) throws com.symphony.bdk.http.api.ApiException
      Deprecated.
      Create a company trusted or untrusted certificate
      Parameters:
      sessionToken - Session authentication token. (required)
      cert - (required)
      Returns:
      ApiResponse<SuccessResponse>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertDeletePost

      public SuccessResponse v1CompanycertDeletePost(String sessionToken, StringId fingerPrint) throws com.symphony.bdk.http.api.ApiException
      Delete a company certificate
      Parameters:
      sessionToken - Session authentication token. (required)
      fingerPrint - (required)
      Returns:
      SuccessResponse
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertDeletePostWithHttpInfo

      public com.symphony.bdk.http.api.ApiResponse<SuccessResponse> v1CompanycertDeletePostWithHttpInfo(String sessionToken, StringId fingerPrint) throws com.symphony.bdk.http.api.ApiException
      Delete a company certificate
      Parameters:
      sessionToken - Session authentication token. (required)
      fingerPrint - (required)
      Returns:
      ApiResponse<SuccessResponse>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertFingerPrintGetGet

      public CompanyCertDetail v1CompanycertFingerPrintGetGet(String fingerPrint, String sessionToken) throws com.symphony.bdk.http.api.ApiException
      Get the details of a company certificate
      Parameters:
      fingerPrint - Certificate fingerPrint (ID) (required)
      sessionToken - Session authentication token. (required)
      Returns:
      CompanyCertDetail
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertFingerPrintGetGetWithHttpInfo

      public com.symphony.bdk.http.api.ApiResponse<CompanyCertDetail> v1CompanycertFingerPrintGetGetWithHttpInfo(String fingerPrint, String sessionToken) throws com.symphony.bdk.http.api.ApiException
      Get the details of a company certificate
      Parameters:
      fingerPrint - Certificate fingerPrint (ID) (required)
      sessionToken - Session authentication token. (required)
      Returns:
      ApiResponse<CompanyCertDetail>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertFingerPrintIssuedByGet

      public List<Object> v1CompanycertFingerPrintIssuedByGet(String fingerPrint, String sessionToken) throws com.symphony.bdk.http.api.ApiException
      Return a list of all certificates which were verified to the cert whose fingerprint is passed.
      Parameters:
      fingerPrint - Certificate fingerPrint (ID) (required)
      sessionToken - Session authentication token. (required)
      Returns:
      List<Object>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertFingerPrintIssuedByGetWithHttpInfo

      public com.symphony.bdk.http.api.ApiResponse<List<Object>> v1CompanycertFingerPrintIssuedByGetWithHttpInfo(String fingerPrint, String sessionToken) throws com.symphony.bdk.http.api.ApiException
      Return a list of all certificates which were verified to the cert whose fingerprint is passed.
      Parameters:
      fingerPrint - Certificate fingerPrint (ID) (required)
      sessionToken - Session authentication token. (required)
      Returns:
      ApiResponse<List<Object>>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertFingerPrintUpdatePost

      public SuccessResponse v1CompanycertFingerPrintUpdatePost(String fingerPrint, String sessionToken, CompanyCertAttributes certAttributes) throws com.symphony.bdk.http.api.ApiException
      Update a company certificate
      Parameters:
      fingerPrint - Certificate fingerPrint (ID) (required)
      sessionToken - Session authentication token. (required)
      certAttributes - (required)
      Returns:
      SuccessResponse
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertFingerPrintUpdatePostWithHttpInfo

      public com.symphony.bdk.http.api.ApiResponse<SuccessResponse> v1CompanycertFingerPrintUpdatePostWithHttpInfo(String fingerPrint, String sessionToken, CompanyCertAttributes certAttributes) throws com.symphony.bdk.http.api.ApiException
      Update a company certificate
      Parameters:
      fingerPrint - Certificate fingerPrint (ID) (required)
      sessionToken - Session authentication token. (required)
      certAttributes - (required)
      Returns:
      ApiResponse<SuccessResponse>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertListGet

      public List<Object> v1CompanycertListGet(String sessionToken, Integer skip, Integer limit) throws com.symphony.bdk.http.api.ApiException
      List all trusted certs
      Parameters:
      sessionToken - Session authentication token. (required)
      skip - Pagination start (optional)
      limit - Row limit (optional)
      Returns:
      List<Object>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertListGetWithHttpInfo

      public com.symphony.bdk.http.api.ApiResponse<List<Object>> v1CompanycertListGetWithHttpInfo(String sessionToken, Integer skip, Integer limit) throws com.symphony.bdk.http.api.ApiException
      List all trusted certs
      Parameters:
      sessionToken - Session authentication token. (required)
      skip - Pagination start (optional)
      limit - Row limit (optional)
      Returns:
      ApiResponse<List<Object>>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertPodmanagedListGet

      public List<Object> v1CompanycertPodmanagedListGet(String sessionToken, Integer skip, Integer limit) throws com.symphony.bdk.http.api.ApiException
      List all trusted certs
      Parameters:
      sessionToken - Session authentication token. (required)
      skip - Pagination start (optional)
      limit - Row limit (optional)
      Returns:
      List<Object>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertPodmanagedListGetWithHttpInfo

      public com.symphony.bdk.http.api.ApiResponse<List<Object>> v1CompanycertPodmanagedListGetWithHttpInfo(String sessionToken, Integer skip, Integer limit) throws com.symphony.bdk.http.api.ApiException
      List all trusted certs
      Parameters:
      sessionToken - Session authentication token. (required)
      skip - Pagination start (optional)
      limit - Row limit (optional)
      Returns:
      ApiResponse<List<Object>>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertTypeListPost

      public List<Object> v1CompanycertTypeListPost(String sessionToken, List<CompanyCertType> typeIdList, Integer skip, Integer limit) throws com.symphony.bdk.http.api.ApiException
      List all certs of the given types
      Parameters:
      sessionToken - Session authentication token. (required)
      typeIdList - Certificate type list (required)
      skip - Pagination start (optional)
      limit - Row limit (optional)
      Returns:
      List<Object>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v1CompanycertTypeListPostWithHttpInfo

      public com.symphony.bdk.http.api.ApiResponse<List<Object>> v1CompanycertTypeListPostWithHttpInfo(String sessionToken, List<CompanyCertType> typeIdList, Integer skip, Integer limit) throws com.symphony.bdk.http.api.ApiException
      List all certs of the given types
      Parameters:
      sessionToken - Session authentication token. (required)
      typeIdList - Certificate type list (required)
      skip - Pagination start (optional)
      limit - Row limit (optional)
      Returns:
      ApiResponse<List<Object>>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v2CompanycertCreatePost

      public CompanyCertDetail v2CompanycertCreatePost(String sessionToken, CompanyCert cert) throws com.symphony.bdk.http.api.ApiException
      Create a company trusted or untrusted certificate. Different from V1 in that we reject expired certificates.
      Parameters:
      sessionToken - Session authentication token. (required)
      cert - (required)
      Returns:
      CompanyCertDetail
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call
    • v2CompanycertCreatePostWithHttpInfo

      public com.symphony.bdk.http.api.ApiResponse<CompanyCertDetail> v2CompanycertCreatePostWithHttpInfo(String sessionToken, CompanyCert cert) throws com.symphony.bdk.http.api.ApiException
      Create a company trusted or untrusted certificate. Different from V1 in that we reject expired certificates.
      Parameters:
      sessionToken - Session authentication token. (required)
      cert - (required)
      Returns:
      ApiResponse<CompanyCertDetail>
      Throws:
      com.symphony.bdk.http.api.ApiException - if fails to make API call