ProxyToken

data class ProxyToken(val version: Int, val playerId: String, val targetServerId: String, val issuedAtMillis: Long, val expiresAtMillis: Long, val clientCertB64: String? = null, val proxyCertB64: String? = null, val nonceB64: String? = null)

Immutable token claims used by proxy and backend validation.

Constructors

Link copied to clipboard
constructor(version: Int, playerId: String, targetServerId: String, issuedAtMillis: Long, expiresAtMillis: Long, clientCertB64: String? = null, proxyCertB64: String? = null, nonceB64: String? = null)

Properties

Link copied to clipboard

Base64url-encoded DER of the client certificate (mTLS).

Link copied to clipboard

Expiration time in milliseconds since Unix Epoch.

Link copied to clipboard

Time of issuance in milliseconds since Unix Epoch.

Link copied to clipboard

Base64url-encoded nonce used for replay protection (v2+).

Link copied to clipboard

Stable player identifier for routing and auditing.

Link copied to clipboard

Base64url-encoded DER of the proxy certificate (mTLS).

Link copied to clipboard

Backend server identifier selected by the proxy.

Link copied to clipboard

Schema version of the token.