1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-01-22 23:05:56 +01:00

23 lines
1.1 KiB
Markdown
Raw Normal View History

2018-05-20 12:59:41 +03:00
# actix-web-httpauth
2018-05-20 13:15:59 +03:00
2019-05-15 17:47:49 +03: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)
[![dependency status](https://deps.rs/crate/actix-web-httpauth/0.4.0/status.svg)](https://deps.rs/crate/actix-web-httpauth/0.4.0)
![Build Status](https://github.com/actix/actix-web-httpauth/workflows/CI/badge.svg?branch=master&event=push)
2019-05-15 17:47:49 +03:00
![Apache 2.0 OR MIT licensed](https://img.shields.io/badge/license-Apache2.0%2FMIT-blue.svg)
2018-05-20 13:15:59 +03:00
HTTP authentication schemes for [actix-web](https://github.com/actix/actix-web) framework.
2019-06-05 18:52:47 +03: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.
## Supported schemes
* [Basic](https://tools.ietf.org/html/rfc7617)
2018-05-30 16:43:39 +03:00
* [Bearer](https://tools.ietf.org/html/rfc6750)