1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-30 18:34:36 +01:00

update doc api

This commit is contained in:
Nikolay Kim 2019-03-09 20:48:05 -08:00
parent 12f0c78091
commit be9031c55e

View File

@ -10,8 +10,7 @@
//! uses cookies as identity storage. //! uses cookies as identity storage.
//! //!
//! To access current request identity //! To access current request identity
//! [**RequestIdentity**](trait.RequestIdentity.html) should be used. //! [**Identity**](trait.Identity.html) extractor should be used.
//! *HttpRequest* implements *RequestIdentity* trait.
//! //!
//! ```rust //! ```rust
//! use actix_web::middleware::identity::Identity; //! use actix_web::middleware::identity::Identity;
@ -226,6 +225,7 @@ where
} }
} }
#[doc(hidden)]
pub struct IdentityServiceMiddleware<S, T> { pub struct IdentityServiceMiddleware<S, T> {
backend: Rc<T>, backend: Rc<T>,
service: Rc<RefCell<S>>, service: Rc<RefCell<S>>,