Submit a login request
Learn about submit a login request.
Read time 1 minuteLast updated 7 months ago
Vivox provides structures to store a common set of parameters for different request types. Use these structures to craft your request and issue it to the Vivox SDK to be sent to Vivox services.
Create your login request in your game client and store any necessary parameters including the received from your game server.
access_tokenvx_req_account_anonymous_login_t *req;vx_req_account+anonymous_login_create(&req);req -> account_name = vx_strdup(“.myissuer.myid.”);req -> account_handle = vx_strdup(“.myid.”);req -> connector_handle = vx_strdup(“c1”);req->access_token = vx_strdup(<token from service>);
Issue the request to the Vivox SDK from the game client.
vx_issue_request3(&req ->base, &request_count);
Next step, process login responses and events.