1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-27 17:22:57 +01:00
This commit is contained in:
Rob Ede 2022-03-15 18:04:13 +00:00
parent 92269fc308
commit 2417549b35
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -76,6 +76,7 @@ pub trait IdentityPolicy: Sized + 'static {
type ResponseFuture: Future<Output = Result<(), Error>>; type ResponseFuture: Future<Output = Result<(), Error>>;
/// Parse the session from request and load data from a service identity. /// Parse the session from request and load data from a service identity.
#[allow(clippy::wrong_self_convention)]
fn from_request(&self, req: &mut ServiceRequest) -> Self::Future; fn from_request(&self, req: &mut ServiceRequest) -> Self::Future;
/// Write changes to response /// Write changes to response