flowfull 0.1.0

Async Rust client for Flowfull and Flowless-compatible backends
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use flowfull::BridgeValidator;

#[tokio::main]
async fn main() -> flowfull::Result<()> {
    let validator = BridgeValidator::builder("https://flowless.example.com")
        .bridge_secret("replace-with-your-bridge-secret")
        .build()?;

    let session = validator
        .validate_session("ses_example", Default::default())
        .await?;

    println!("validated user: {}", session.user_id);
    Ok(())
}