B2BSSOSAMLClient

SAML SSO connection management methods.

Functions

Link copied to clipboard
abstract suspend fun createConnection(request: IB2BCreateSAMLConnectionParameters): B2BCreateSAMLConnectionResponse

Creates a new SAML SSO connection for the organization. Calls the POST /sdk/v1/b2b/sso/saml endpoint. Requires an active session.

Link copied to clipboard
abstract suspend fun deleteVerificationCertificate(connectionId: String, certificateId: String): B2BDeleteSAMLVerificationCertificateResponse

Deletes a verification certificate from the specified SAML SSO connection. Calls the DELETE /sdk/v1/b2b/sso/saml/{connection_id}/verification_certificates/{certificate_id} endpoint. Requires an active session.

Link copied to clipboard
abstract suspend fun updateConnection(connectionId: String, request: IB2BUpdateSAMLConnectionParameters): B2BUpdateSAMLConnectionResponse

Updates an existing SAML SSO connection. Calls the PUT /sdk/v1/b2b/sso/saml/{connection_id} endpoint. Requires an active session.

Link copied to clipboard
abstract suspend fun updateConnectionByUrl(connectionId: String, request: IB2BUpdateSAMLConnectionByURLParameters): B2BUpdateSAMLConnectionByURLResponse

Updates a SAML SSO connection by fetching its metadata directly from the provided URL. Calls the PUT /sdk/v1/b2b/sso/saml/{connection_id}/url endpoint. Requires an active session.