Submit a login request
Learn about submit a login request.
읽는 시간 1분최근 업데이트: 19일 전
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
access_tokenIssue the request to the Vivox SDK from the game client.vx_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>);
vx_issue_request3(&req ->base, &request_count);
Next step, process login responses and events.