Table of Contents

Struct RenewTokenResponseBroadcast

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Broadcast sent by a World or Scene server immediately after a successful TokenAuthBroadcast authentication, carrying a freshly-minted auth token with a refreshed expiration window. The client decrypts the new token over the existing AES-GCM session channel and replaces its stored token so that future reconnects continue working past the original LoginServer-issued token's expiration.

public struct RenewTokenResponseBroadcast : IBroadcast
Implements
IBroadcast
Inherited Members

Fields

Result

Result of the token renewal operation. Client should check this field to distinguish success from failure before using the new token.

public ClientAuthenticationResult Result

Field Value

ClientAuthenticationResult

Seq

Informational only. The AES-GCM sequence for this message is not carried on the wire: the client derives it from its own server->client receive counter, which advances in lock step with the server's send counter. Do not decrypt against this value — a desynchronised counter must surface as a decryption failure, not as a successful decrypt at an attacker-chosen sequence.

public uint Seq

Field Value

uint

Token

AES-GCM encrypted signed auth token (server->client).

public byte[] Token

Field Value

byte[]