{"id":20090455,"url":"https://github.com/64/steam-auth","last_synced_at":"2025-10-12T23:02:11.142Z","repository":{"id":57668648,"uuid":"192023352","full_name":"64/steam-auth","owner":"64","description":"Steam authentication library in Rust","archived":false,"fork":false,"pushed_at":"2019-06-18T19:13:36.000Z","size":20,"stargazers_count":8,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T15:53:57.126Z","etag":null,"topics":["authentication","rust","steam"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/64.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-15T01:26:15.000Z","updated_at":"2025-02-12T21:31:46.000Z","dependencies_parsed_at":"2022-08-27T03:25:04.621Z","dependency_job_id":null,"html_url":"https://github.com/64/steam-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64%2Fsteam-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64%2Fsteam-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64%2Fsteam-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/64%2Fsteam-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/64","download_url":"https://codeload.github.com/64/steam-auth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252616032,"owners_count":21776904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","rust","steam"],"created_at":"2024-11-13T16:24:29.253Z","updated_at":"2025-10-12T23:02:11.136Z","avatar_url":"https://github.com/64.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Docs.rs](https://docs.rs/steam-auth/badge.svg)](https://docs.rs/steam-auth)\n[![Build Status](https://travis-ci.org/64/steam-auth.svg?branch=master)](https://travis-ci.org/64/steam-auth)\n\n# steam-auth\n\nAllows you to implement a 'login with steam' feature on your website.\n\n### Usage\n\nThe easiest way to use this crate is with the `reqwest-09x` feature which allows the library to\nmake HTTP requests on your behalf. Otherwise, you will need to do that manually.\n\nUsing the `reqwest-09x` feature:\n```rust\n// First, create a redirector\nlet redirector = Redirector::new(\"http://localhost:8080\", \"/callback\").unwrap();\n\n// When a user wants to log in with steam, (e.g when they land on the `/login` route),\n// redirect them to this URL:\nlet redirect_url = redirector.url();\n\n// Once they've finished authenticating, they will be returned to `/callback` with some data in\n// the query string that needs to be parsed and then verified by sending an HTTP request to the steam\n// servers.\nmatch Verifier::make_verify_request(\u0026reqwest::Client::new(), querystring) {\n    Ok(steam_id) =\u003e println!(\"Successfully logged in user with steam ID 64 {}\", steam_id),\n    Err(e) =\u003e eprintln!(\"There was an error authenticating: {}\", e),\n}\n```\n\nThere is an asynchronous variant: `Verifier::make_verify_request_async` which returns a\nfuture. You can also deserialize the data into a `SteamLoginData` struct and construct a\n`Verifier` from that if it is more convenient.\n\nIf you don't want to depend on request, you'll need to send the HTTP request yourself. See the\n[example server](https://github.com/64/steam-auth/blob/master/examples/server.rs) and the\n`Verifier` documentation for more details on how this can be done.\n\nMIT Licensed. Pull requests and contributions welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F64%2Fsteam-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F64%2Fsteam-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F64%2Fsteam-auth/lists"}