Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GetAuthTicketForWebApi #43

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rnels
Copy link

@rnels rnels commented Jul 17, 2024

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

  • Added init_user and shutdown_user to core.cpp
    • Seems like these were omitted by mistake, preventing the user.cpp callback handlers from registering
  • Added user.getAuthTicketForWebApi method and OnTicketForWebApiResponse callback handler

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant