rbx_auth 0.1.0

Constructs params for making authenticated requests to Roblox APIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# `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.

## Usage

```rs
use rbx_auth::RobloxAuth;

let auth = RobloxAuth::new().await?;

let client = reqwest::Client::builder()
    .user_agent("Roblox/WinInet")
    .cookie_provider(Arc::new(auth.jar))
    .default_headers(auth.headers)
    .build();
```