player.authToken

Description

Used in tandem with earlyAuth

Syntax

readonly authToken: string;

Example Usage

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

results matching ""

    No results matching ""