pub struct Certificates {
pub client: Client,
}
Fields§
§client: Client
Implementations§
Source§impl Certificates
impl Certificates
Sourcepub async fn post_sso(
&self,
body: &PostSsoCertificatesRequest,
) -> Result<Response<SsoCertificateBody>, ClientError>
pub async fn post_sso( &self, body: &PostSsoCertificatesRequest, ) -> Result<Response<SsoCertificateBody>, ClientError>
Create an SSO Certificate.
This function performs a POST
to the /sso/certificates
endpoint.
This endpoint allows you to create an SSO certificate.
Sourcepub async fn get_sso_integrations_integration(
&self,
integration_id: &str,
) -> Result<Response<Vec<SsoCertificateBody>>, ClientError>
pub async fn get_sso_integrations_integration( &self, integration_id: &str, ) -> Result<Response<Vec<SsoCertificateBody>>, ClientError>
Get All SSO Certificates by Integration.
This function performs a GET
to the /sso/integrations/{integration_id}/certificates
endpoint.
This endpoint allows you to retrieve all your IdP configurations by configuration ID.
The integration_id
expected by this endpoint is the id
returned in the response by the “Get All SSO Integrations” endpoint.
Sourcepub async fn get_all_sso_integrations_integration(
&self,
integration_id: &str,
) -> Result<Response<Vec<SsoCertificateBody>>, ClientError>
pub async fn get_all_sso_integrations_integration( &self, integration_id: &str, ) -> Result<Response<Vec<SsoCertificateBody>>, ClientError>
Get All SSO Certificates by Integration.
This function performs a GET
to the /sso/integrations/{integration_id}/certificates
endpoint.
As opposed to get_sso_integrations_integration
, this function returns all the pages of the request at once.
This endpoint allows you to retrieve all your IdP configurations by configuration ID.
The integration_id
expected by this endpoint is the id
returned in the response by the “Get All SSO Integrations” endpoint.
Sourcepub async fn get_sso_cert(
&self,
cert_id: &str,
) -> Result<Response<SsoCertificateBody>, ClientError>
pub async fn get_sso_cert( &self, cert_id: &str, ) -> Result<Response<SsoCertificateBody>, ClientError>
Get an SSO Certificate.
This function performs a GET
to the /sso/certificates/{cert_id}
endpoint.
This endpoint allows you to retrieve an individual SSO certificate.
Sourcepub async fn delete_sso_cert(
&self,
cert_id: &str,
) -> Result<Response<SsoCertificateBody>, ClientError>
pub async fn delete_sso_cert( &self, cert_id: &str, ) -> Result<Response<SsoCertificateBody>, ClientError>
Delete an SSO Certificate.
This function performs a DELETE
to the /sso/certificates/{cert_id}
endpoint.
This endpoint allows you to delete an SSO certificate.
You can retrieve a certificate’s ID from the response provided by the “Get All SSO Integrations” endpoint.
Sourcepub async fn patch_sso_cert(
&self,
cert_id: &str,
body: &PatchSsoCertificatesCertRequest,
) -> Result<Response<Vec<SsoErrorResponse>>, ClientError>
pub async fn patch_sso_cert( &self, cert_id: &str, body: &PatchSsoCertificatesCertRequest, ) -> Result<Response<Vec<SsoErrorResponse>>, ClientError>
Update SSO Certificate.
This function performs a PATCH
to the /sso/certificates/{cert_id}
endpoint.
This endpoint allows you to update an existing certificate by ID.
You can retrieve a certificate’s ID from the response provided by the “Get All SSO Integrations” endpoint.