player.authToken

Description

Used in tandem with earlyAuth

Syntax

readonly authToken: string;

Real World Example

const uniqueToken = player.authToken;
if (uniqueToken !== 'blahBlahBlah') {
    player.kick('bad token');
    return;
}

results matching ""

    No results matching ""