This project contains a single class with some static methods to help you to use Steam OpenID in your own project.
- Generate a url with
getLoginURLand redirect the user to it.- After the user logs in, Steam will redirect the user to the
callbackURLyou provided.
- After the user logs in, Steam will redirect the user to the
- Check if the login was successful with
validateLogin - If the login was successful, you can get the user's SteamID with
getUserID- Store the SteamID in a session or database to keep track of the user, and use it to make Steam web API requests.