RealtimeClientSecret

@Serializable
class RealtimeClientSecret(val value: String, val expiresAt: Long, val session: JsonObject)

Ephemeral credential. Do not log or persist its value.

Constructors

Link copied to clipboard
constructor(value: String, expiresAt: Long, session: JsonObject)

Properties

Link copied to clipboard
@SerialName(value = "expires_at")
val expiresAt: Long

Expiry Unix timestamp in seconds.

Link copied to clipboard
val session: JsonObject

Effective session configuration, preserved without dropping server fields.

Link copied to clipboard

Bearer credential for a client connection.

Functions

Link copied to clipboard
open override fun toString(): String