Error validating steam user id ticket
04-Oct-2020 16:36
Steam exposes an HTTP based Web API which can be used to access many Steamworks features.The API contains public methods that can be accessed from any application capable of making an HTTP request, such as game client or server.
The Steamworks SDK includes 32-bit and 64-bit versions of this library for Windows and Linux under the directory.The API also contains protected methods that require authentication and are intended to be accessed from trusted back-end applications. The following steps detail how to use Session Tickets to verify a user's identity between the user's game client (client A) and another client or game server (client B): field of the ISteam User:: Validate Auth Ticket Response_t will be set to k_EAuth Session Response No License Or Expired.After receiving a user's Session Ticket and passing it to ISteam User:: Begin Auth Session then, ISteam User:: User Has License For App can be used to determine if the user owns a specific piece of downloadable content.Session Tickets can also be used to verify a user's identity between a game client and a secure, backend server using the Steamworks Web API.
Requires that the secure server can make HTTPS requests to .You can retrieve the current user's Steam ID by calling ISteam User:: Get Steam ID and then retrieve the 64-bit ID by calling on the returned value.