9 releases

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

#266 in Authentication

Download history 13/week @ 2023-12-24 15/week @ 2024-01-07 17/week @ 2024-01-14 14/week @ 2024-01-21 53/week @ 2024-01-28 46/week @ 2024-02-04 26/week @ 2024-02-11 122/week @ 2024-02-18 97/week @ 2024-02-25 96/week @ 2024-03-03 114/week @ 2024-03-10 304/week @ 2024-03-17 134/week @ 2024-03-24 123/week @ 2024-03-31 69/week @ 2024-04-07

637 downloads per month

Custom license and GPL-3.0-or-later

53KB
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–25MB
~374K SLoC