steam-auth
Allows you to implement a 'login with steam' feature on your website.
Usage
First, obtain the URL to which users should be redirected to start the login process:
let redirect_url = get_login_url.unwrap;
After redirecting the user to this URL, they will be returned to /callback with some data in the query string that needs to be deserialized into a SteamAuthResponse. Then, verify the data (this makes an HTTP request to the steam servers):
// deserialize query string into auth_response: SteamAuthResponse
match verify_response
There's also an asynchronous variant on steam_auth::verify_response_async.
See the example server for more details.
MIT Licensed. Pull requests and contributions welcome.