Skip to content

Instantly share code, notes, and snippets.

> - sent by client
< - received by client
Log in
> 92:{"params": {"username": "test_user"}, "jsonrpc": "2.0", "method": "user.getUserid", "id": 1},
< 65:{"jsonrpc": "2.0", "result": "534d6a5446cacab6920d67bf", "id": 1},
> 159:{"params": {"password": "correct_password", "userid": "534d6a5446cacab6920d67bf"}, "jsonrpc": "2.0", "method": "authentication.password.authenticate", "id": 2},
< 105:{"jsonrpc": "2.0", "result": "4aa91c1cfdc71460a97880eff521ce02165d938bae4b80d1d3bfaf21e69de1ab", "id": 2},
Create and join a agame

API documentation for localhost:2337

authentication.password.authenticate

Parameters

  • password - string (required)
  • userid - string (required)