pub trait IdentityExt {
    fn get_identity(&self) -> Result<Identity, Error>;
}
Expand description

Helper trait to retrieve an Identity instance from various actix-web’s types.

Required Methods

Retrieve the identity attached to the current session, if available.

Implementations on Foreign Types

Implementors