Package-level declarations

Types

Link copied to clipboard
@Serializable
data class ClerkPaginatedResponse<T>(val data: List<T>, val totalCount: Int, val hasRoleSetMigration: Boolean? = null)

An interface that describes the response of a method that returns a paginated list of resources.

Link copied to clipboard
class ForbiddenCertificatesHostnameVerifier(delegate: HostnameVerifier, forbiddenSpkiSha256s: Set<ByteString> = CVE_2026_111943) : HostnameVerifier

Rejects a TLS session whose server presented a certificate on a denylist of SPKI SHA-256 hashes.

Functions

Link copied to clipboard
fun OkHttpClient.forbiddingCertificates(forbidden: Set<ByteString> = ForbiddenCertificatesHostnameVerifier.CVE_2026_111943): OkHttpClient

Returns a copy of this client that refuses servers presenting any certificate in forbidden.