Skip to content

wanda-space/auth0_client_rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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("[email protected]".to_owned());
payload.password = Some("password123456789!".to_owned());

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%