HandshakeInterceptor

class HandshakeInterceptor(tokenValidator: TokenValidator, expectedServerId: String)

Extracts and validates proxy tokens during the handshake phase.

This class is designed to be called from a server hook that has access to the Connect packet referral data.

Constructors

Link copied to clipboard
constructor(tokenValidator: TokenValidator, expectedServerId: String)

Functions

Link copied to clipboard

Validates the proxy token stored in referralData.