Crates.io | oxide-auth |
lib.rs | oxide-auth |
version | 0.6.1 |
source | src |
created_at | 2017-11-29 15:03:43.550302 |
updated_at | 2024-06-02 14:02:31.975329 |
description | A OAuth2 library for common web servers, featuring a set of configurable and pluggable backends. |
homepage | |
repository | https://github.com/HeroicKatora/oxide-auth.git |
max_upload_size | |
id | 40978 |
size | 482,742 |
A OAuth2 server library, for use in combination with common web servers, featuring a set of configurable and pluggable backends.
oxide-auth
aims at providing a comprehensive and extensible interface to
managing OAuth2 tokens on a server. The core package is agnostic of the used
front-end web server and adaptors for the actix, rocket, iron and rouille
crates are provided in extension crates. Through an interface designed with
traits, the frontend is as easily pluggable as the backend. You can provide
your own request, response and error types as well as choose any custom method
of authenticating clients and users by implement the appropriate traits.
Some popular server libraries have ready-made integration. These still require
some dependency on the base crate but generally wrap the interface into a user
that is considered more idiomatic for their library. Besides the implementation
of oxide-auth
traits for the request type, specific error and response traits
are also implemented.
What | Crate | Notes | Docs |
---|---|---|---|
actix |
oxide-auth-actix |
- | |
async wrappers |
oxide-auth-async |
- | |
redis |
oxide-auth-db |
- | |
rocket |
oxide-auth-rocket |
nightly | |
rouille |
oxide-auth-rouille |
- | |
iron |
oxide-auth-iron |
- |
Licensed under either of
The license applies to all parts of the source code, its documentation and supplementary files unless otherwise indicated. It does NOT apply to the replicated full-text copies of referenced RFCs which were included for the sake of completion. These are distributed as permitted by [IETF Trust License 4–Section 3.c.i][IETF4].