All Projects → bramvdbogaerde → auth-rs

bramvdbogaerde / auth-rs

Licence: other
Simple username/password authentication system for Rocket

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to auth-rs

rust-for-backend-development
SWITCH TO RUST AND STOP WASTING YOUR TIME WITH JAVASCRIPT RUNTIME EXCEPTIONS
Stars: ✭ 30 (+57.89%)
Mutual labels:  rocket, rocket-rs
rowdy
A Rocket based JSON Web Token authentication server.
Stars: ✭ 33 (+73.68%)
Mutual labels:  rocket-rs
rusty-bunny
a tool that lets you write smart bookmarks
Stars: ✭ 20 (+5.26%)
Mutual labels:  rocket-rs
rocket-rest-api-with-jwt
A Rusty Rocket fuelled with Diesel and secured by JWT
Stars: ✭ 62 (+226.32%)
Mutual labels:  rocket-rs
shorty
High-performance link shortener
Stars: ✭ 48 (+152.63%)
Mutual labels:  rocket-rs
git-falcon9
No description or website provided.
Stars: ✭ 16 (-15.79%)
Mutual labels:  rocket
Rocket
Define your release steps 🚀
Stars: ✭ 99 (+421.05%)
Mutual labels:  rocket
rich-uncle-pennybags-bot
A telegram bot for all of your crypto needs. Works over the bitfinex and coinmarketcap APIs
Stars: ✭ 15 (-21.05%)
Mutual labels:  rocket
rocket-multipart-form-data
This crate provides a multipart parser for the Rocket framework.
Stars: ✭ 34 (+78.95%)
Mutual labels:  rocket
FullstackRustDemo
Novelty website + bucket questions implementation.
Stars: ✭ 40 (+110.53%)
Mutual labels:  rocket
reason-rust-scraper
🦀 Scraping & crawling websites using Rust, and ReasonML
Stars: ✭ 21 (+10.53%)
Mutual labels:  rocket-rs
rocket prometheus
Prometheus fairing and handler for Rocket
Stars: ✭ 38 (+100%)
Mutual labels:  rocket
rfcbot-rs
Coordinates asynchronous decision making on Rust repositories. Status of tracked issues and PRs can be viewed at https://rfcbot.rs.
Stars: ✭ 143 (+652.63%)
Mutual labels:  rocket-rs
bin
highly opinionated, minimal pastebin
Stars: ✭ 97 (+410.53%)
Mutual labels:  rocket
Rocket
FreeCAD Rocketry Workbench
Stars: ✭ 29 (+52.63%)
Mutual labels:  rocket
MAPLEAF
6-DOF Rocket Flight Simulation Framework
Stars: ✭ 28 (+47.37%)
Mutual labels:  rocket
lohr
Git mirroring daemon
Stars: ✭ 28 (+47.37%)
Mutual labels:  rocket
Nasa-And-Spacex-Cooperation
Theme Outer Space
Stars: ✭ 41 (+115.79%)
Mutual labels:  rocket
rocket-yew-starter-pack
Example boilerplate for websites in pure Rust
Stars: ✭ 77 (+305.26%)
Mutual labels:  rocket-rs
msa-toolkit
The MSA Toolkit provides useful codes for flight simulations and analysis, aerodynamic optimization and sensibility analysis. The codes are implemented by the MisSion Analysis Team.
Stars: ✭ 22 (+15.79%)
Mutual labels:  rocket

Auth-rs

This library provides a simple username/password authentication system to use with Rocket.

For Cookie encryption, the library uses the Private Cookie feature of Rocket. For maintaining cookie validity after a restart, do not forget to set the secret_key configuration parameter, otherwise Rocket will generate a new key at every execution.

Cargo.toml

[dependencies]
rocket = "0.3.0"
rocket-simpleauth = "0.4.0"
rocket_codegen = "0.3.0"

Example

Please check example/ directory, for a full example.

API Stability

Apart from a few functions of some traits, the API should stay the same from now on (v0.4.0). Given issue #6 it is probabel that the Authenticator trait will change.

When this crate reaches 1.0.0, the full API will be considered stable and frozen.

Todo

The following items are in development or are planned to be developped:

  • standard implementation for user storage into sqlite databases
  • publishing to crates.io
  • Documentation

On hold

See this issue

  • cookie storage in Redis datastore
  • stateless cookie validation using JSON Web Tokens
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].