Struct iron_login::LoginManager [] [src]

pub struct LoginManager {
    pub config: Config,
    // some fields omitted

Iron middleware providing user loging management

Stores the configuration in persistent data and adds an oven with the specified key.



Configuration for this manager


impl LoginManager

fn new(signing_key: Vec<u8>) -> LoginManager

Construct a new login middleware using the provided signing key

Trait Implementations

impl AroundMiddleware for LoginManager

fn around(self, handler: Box<Handler>) -> Box<Handler>