10 releases

0.2.2 Jun 5, 2024
0.2.1 Mar 19, 2024
0.2.0 Oct 13, 2023
0.1.7 Jul 25, 2023
0.1.1 Jan 17, 2023

#381 in Authentication

Download history 16/week @ 2024-11-15 5/week @ 2024-11-22 10/week @ 2024-12-06 6/week @ 2024-12-13 2/week @ 2024-12-20 1/week @ 2024-12-27 8/week @ 2025-01-03 23/week @ 2025-01-10 20/week @ 2025-01-17 13/week @ 2025-01-24 127/week @ 2025-01-31 198/week @ 2025-02-07 380/week @ 2025-02-14 596/week @ 2025-02-21 250/week @ 2025-02-28

1,449 downloads per month

Custom license and GPL-3.0-or-later

54KB
1K SLoC

auth0_client

CI codecov

This crates allow to interact with the Auth0 API. It is still a work in progress and therefore misses lot of functionnalities.

Installation

Add this line to your Cargo.toml:

[dependencies]
auth0_client = "0.1.0"

Usage overview

let mut client = Auth0Client::new(
    "client_id",
    "client_secret",
    "http://domain.com",
    "http://audience.com",
);

client.authenticate().await?;

let mut payload =
    CreateUserPayload::from_connection("Username-Password-Authentication");
payload.email = Some("test@example.com".to_owned());
payload.password = Some("password123456789!".to_owned());

let new_user = client.create_user(&payload).await;

Dependencies

~9–23MB
~346K SLoC