3 unstable releases
0.2.0 | Nov 14, 2022 |
---|---|
0.1.1 | Aug 19, 2022 |
0.1.0 | Jun 18, 2022 |
#313 in Authentication
31 downloads per month
Used in rbx_api
30KB
503 lines
rbx_auth
Constructs a headers map and cookie jar that can be passed to a reqwest
client to make authenticated
requests to Roblox APIs. Best used with the rbx_api
crate. Available as both a library and CLI.
CLI
Install with cargo install rbx_auth
.
rbx_auth --help
Library
use rbx_auth::{RobloxAuth, WithRobloxAuth};
let auth = RobloxAuth::new().await?;
let client = reqwest::Client::builder()
.user_agent("Roblox/WinInet")
.roblox_auth(auth)
.build()?;
Dependencies
~9–17MB
~353K SLoC