2 unstable releases
0.2.0 | Feb 25, 2023 |
---|---|
0.1.0 | Feb 22, 2023 |
#886 in Authentication
78 downloads per month
6KB
107 lines
Steam OpenID
This is a simple implementation of OpenID for Steam authorization used by Velocity Vault.
How to
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();
Dependencies
~6–19MB
~260K SLoC