uspgamedev / luasteam

Bindings to connect lua with Steam API
https://luasteam.readthedocs.io/en/stable/
MIT License
134 stars 25 forks source link

Add support for GetAuthTicketForWebApi #43

Open rnels opened 4 months ago

rnels commented 4 months ago

Motivation

Currently, it isn't possible to authenticate a steam user with a backend web server. Adding the function GetAuthTicketForWebApi and its associated callback handler GetTicketForWebApiResponse_t allows us to do so.

Changes

This is my first time writing C++, so please let me know if you have any suggestions for improving my code. Also let me know if there are any additional requirements for contribution I've missed.