Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

A Rust based client to connect with DRACOON API (async) - more infos on DRACOON here: https://dracoon.com

Notifications You must be signed in to change notification settings

unbekanntes-pferd/dracoon-oxide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DRACOON-OXIDE

A minimal async DRACOON client in Rust built with

  • reqwest
  • tokio
  • serde

FAQ

What is this?

This is a minimal experimental DRACOON client written in Rust.

What features are available?

Currently, only login (authentication) is available – the following OAuth2 flows are supported:

  • Password flow
  • Authorization code
  • Refresh token

The following public methods are exposed for DRACOONClient:

  • connect: connect by any supported OAuth2 flow (see above)
  • disconnect: revokes access token (refresh token revoke not implemented yet)
  • get_code_url: returns a string to print the code URL for authorization code flow
  • test_connection: checks authenticated connection via authenticated ping (GET /users/ping)

Why?

This is a Rust learning project by building an API wrapper. The library will serve for future learning projects such as CLI tools.

How to use?

Check out main.rs in the repo for a full working example on using the lib.

About

A Rust based client to connect with DRACOON API (async) - more infos on DRACOON here: https://dracoon.com

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages