Simple Steam connection class using LightOpenID.
- Easily customizable and configurable
- Automatically detects logged in status in
__construct
- Caches the JSON response from the Steam API
- Creates a session token and supports deleting and limiting sessions
- Error logging with specifiable method (using error_log())
- Lightweight and quick retrieval of Steam API info with cURL
- Support for IP-locking sessions for extra security
- Easily modifiable to allow for individual user security settings
These are already included in the php folder, however feel free to grab a more recent version from the above links.
- PHP with cURL extension
- MySQL server
- Edit the
$Config
and$Database
variables inphp/steamopenid.php
- Import
sql/init.sql
into your chosen SQL database. - Include
php/steamopenid.php
into your own PHP script.
See the an_example.php
file for more info.