Package com.symphony.bdk.gen.api
Class SecurityApi
java.lang.Object
com.symphony.bdk.gen.api.SecurityApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-05T16:35:22.048360567Z[Etc/UTC]")
public class SecurityApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.symphony.bdk.http.api.ApiClient
Get the API cilentvoid
setApiClient
(com.symphony.bdk.http.api.ApiClient apiClient) Set the API cilentv1CompanycertCreatePost
(String sessionToken, CompanyCert cert) Deprecated.com.symphony.bdk.http.api.ApiResponse<SuccessResponse>
v1CompanycertCreatePostWithHttpInfo
(String sessionToken, CompanyCert cert) Deprecated.v1CompanycertDeletePost
(String sessionToken, StringId fingerPrint) Delete a company certificatecom.symphony.bdk.http.api.ApiResponse<SuccessResponse>
v1CompanycertDeletePostWithHttpInfo
(String sessionToken, StringId fingerPrint) Delete a company certificatev1CompanycertFingerPrintGetGet
(String fingerPrint, String sessionToken) Get the details of a company certificatecom.symphony.bdk.http.api.ApiResponse<CompanyCertDetail>
v1CompanycertFingerPrintGetGetWithHttpInfo
(String fingerPrint, String sessionToken) Get the details of a company certificatev1CompanycertFingerPrintIssuedByGet
(String fingerPrint, String sessionToken) Return a list of all certificates which were verified to the cert whose fingerprint is passed.v1CompanycertFingerPrintIssuedByGetWithHttpInfo
(String fingerPrint, String sessionToken) Return a list of all certificates which were verified to the cert whose fingerprint is passed.v1CompanycertFingerPrintUpdatePost
(String fingerPrint, String sessionToken, CompanyCertAttributes certAttributes) Update a company certificatecom.symphony.bdk.http.api.ApiResponse<SuccessResponse>
v1CompanycertFingerPrintUpdatePostWithHttpInfo
(String fingerPrint, String sessionToken, CompanyCertAttributes certAttributes) Update a company certificatev1CompanycertListGet
(String sessionToken, Integer skip, Integer limit) List all trusted certsv1CompanycertListGetWithHttpInfo
(String sessionToken, Integer skip, Integer limit) List all trusted certsv1CompanycertPodmanagedListGet
(String sessionToken, Integer skip, Integer limit) List all trusted certsv1CompanycertPodmanagedListGetWithHttpInfo
(String sessionToken, Integer skip, Integer limit) List all trusted certsv1CompanycertTypeListPost
(String sessionToken, List<CompanyCertType> typeIdList, Integer skip, Integer limit) List all certs of the given typesv1CompanycertTypeListPostWithHttpInfo
(String sessionToken, List<CompanyCertType> typeIdList, Integer skip, Integer limit) List all certs of the given typesv2CompanycertCreatePost
(String sessionToken, CompanyCert cert) Create a company trusted or untrusted certificate.com.symphony.bdk.http.api.ApiResponse<CompanyCertDetail>
v2CompanycertCreatePostWithHttpInfo
(String sessionToken, CompanyCert cert) Create a company trusted or untrusted certificate.
-
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
-