[−][src]Trait actix_web::middleware::identity::Identity
An identity
Required Methods
fn identity(&self) -> Option<&str>
Return the claimed identity of the user associated request or
None
if no identity can be found associated with the request.
fn remember(&mut self, key: String)
Remember identity.
fn forget(&mut self)
This method is used to 'forget' the current identity on subsequent requests.
fn write(&mut self, resp: HttpResponse) -> Result<Response>
Write session to storage backend.