Crates.io | steam-openid |
lib.rs | steam-openid |
version | 0.2.0 |
source | src |
created_at | 2023-02-22 14:54:08.134558 |
updated_at | 2023-02-25 05:16:00.487521 |
description | Simple Rust implementation of Steam OpenID. |
homepage | |
repository | |
max_upload_size | |
id | 791877 |
size | 7,016 |
This is a simple implementation of OpenID for Steam authorization used by Velocity Vault.
let openid = SteamOpenId::new("http://localhost:8080", "/callback").unwrap();
// Redirect the user to this url:
let redirect_url = openid.get_redirect_url();
// Then in your callback:
let steamid64 = openid.verify(req.query_string()).unwrap();