Server Runtime Examples #
Initialize a user #
User a register hook to write records for the new user after their registration has completed.
The “register_after” hook can be used with one of the "authenticaterequest_*"
message types to tell the server to run a function after that message has been processed. It’s important to note that the server does not distinguish between register and login messages so we use a conditional write to store the records.
Server
|
|
Server
|
|
Server
|
|
Storage #
Writing to storage #
Server
|
|
Server
|
|
Server
|
|