Skip to main content

AuthPayloads.AuthenticateRequest

A struct in TavernLib, TavernLib.Backend.Auth.

A join request on the auth port: the player's name, account token and, if needed, password.

Properties​

MemberWhat it is
string Password { get; private set; }Must be SHA-256 of the password: the server hashes it once more and compares it with password_hash.
string Token { get; private set; }The player's account token, saved with the name on first join and checked every join after.
string Username { get; private set; }The name to join as.

Used in​

Members of other types that take, return or hold a AuthenticateRequest: