2018-05-20 11:59:41 +02:00
|
|
|
# actix-web-httpauth
|
2018-05-20 12:15:59 +02:00
|
|
|
|
2019-05-15 16:47:49 +02:00
|
|
|
[![Latest Version](https://img.shields.io/crates/v/actix-web-httpauth.svg)](https://crates.io/crates/actix-web-httpauth)
|
|
|
|
[![Latest Version](https://docs.rs/actix-web-httpauth/badge.svg)](https://docs.rs/actix-web-httpauth)
|
2019-06-05 17:52:47 +02:00
|
|
|
[![dependency status](https://deps.rs/crate/actix-web-httpauth/0.3.0/status.svg)](https://deps.rs/crate/actix-web-httpauth/0.3.0)
|
2018-05-20 12:16:56 +02:00
|
|
|
![Build Status](https://travis-ci.org/svartalf/actix-web-httpauth.svg?branch=master)
|
2019-05-15 16:47:49 +02:00
|
|
|
![Apache 2.0 OR MIT licensed](https://img.shields.io/badge/license-Apache2.0%2FMIT-blue.svg)
|
2018-05-20 12:15:59 +02:00
|
|
|
|
2018-05-20 21:10:48 +02:00
|
|
|
HTTP authentication schemes for [actix-web](https://github.com/actix/actix-web) framework.
|
|
|
|
|
2019-06-05 17:52:47 +02:00
|
|
|
Provides:
|
|
|
|
* typed [Authorization] and [WWW-Authenticate] headers
|
|
|
|
* [extractors] for an [Authorization] header
|
|
|
|
* [middleware] for easier authorization checking
|
|
|
|
|
|
|
|
All supported schemas are actix [Extractors](https://docs.rs/actix-web/1.0.0/actix_web/trait.FromRequest.html),
|
|
|
|
and can be used both in the middlewares and request handlers.
|
2018-05-20 21:10:48 +02:00
|
|
|
|
|
|
|
## Supported schemes
|
|
|
|
|
2018-05-20 21:15:59 +02:00
|
|
|
* [Basic](https://tools.ietf.org/html/rfc7617)
|
2018-05-30 15:43:39 +02:00
|
|
|
* [Bearer](https://tools.ietf.org/html/rfc6750)
|
2019-05-15 16:47:49 +02:00
|
|
|
|
|
|
|
## Donations
|
|
|
|
|
|
|
|
If you appreciate my work and want to support me, you can do it [here](https://svartalf.info/donate/).
|