rbx_auth
Helpers for working with legacy Roblox authentication (.ROBLOSECURITY cookies and X-Csrf-Token headers).
Best used with the rbx_api crate. Available as both a library and CLI.
CLI
Install with cargo install rbx_auth.
Library
Disable default features to exclude the CLI dependencies with cargo add rbx_auth --no-default-features, or
use the default-features = false configuration:
# Cargo.toml
[]
= { = "<version>", = false }
use ;
let cookie_store = new;
let csrf_token_store = new;
let client = builder
.user_agent
.cookie_provider
.build?;
let res = csrf_token_store
.send_request
.await?;