Skip to content
On this page

authToken()

Used in tandem with Early Auth

Function Definition

ts
public readonly authToken: string;

Returns

  • string

Documentation

Examples

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

Documentation Created with ❤️ by Stuyk