mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-24 23:57:57 +01:00
Unused lifetime parameter are unused.
This commit is contained in:
parent
4e3bb44040
commit
d29b0c207d
@ -82,14 +82,14 @@ impl Callback<AppData, SessionData> for CB {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct Auth<'a> {
|
pub struct Auth {
|
||||||
pub ctx: RSASL<AppData, SessionData>,
|
pub ctx: RSASL<AppData, SessionData>,
|
||||||
session: Rc<RefCell<Option<Session>>>,
|
session: Rc<RefCell<Option<Session>>>,
|
||||||
access: Arc<AccessDB>,
|
access: Arc<AccessDB>,
|
||||||
log: Logger,
|
log: Logger,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> Auth<'a> {
|
impl Auth {
|
||||||
pub fn new(log: Logger, dbs: Databases, session: Rc<RefCell<Option<Session>>>) -> Self {
|
pub fn new(log: Logger, dbs: Databases, session: Rc<RefCell<Option<Session>>>) -> Self {
|
||||||
let mut ctx = SASL::new().unwrap();
|
let mut ctx = SASL::new().unwrap();
|
||||||
|
|
||||||
@ -103,7 +103,7 @@ impl<'a> Auth<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
use crate::schema::authenticationsystem_capnp::*;
|
use crate::schema::authenticationsystem_capnp::*;
|
||||||
impl<'a> authentication_system::Server for Auth<'a> {
|
impl authentication_system::Server for Auth {
|
||||||
fn mechanisms(&mut self,
|
fn mechanisms(&mut self,
|
||||||
_: authentication_system::MechanismsParams,
|
_: authentication_system::MechanismsParams,
|
||||||
mut res: authentication_system::MechanismsResults
|
mut res: authentication_system::MechanismsResults
|
||||||
|
Loading…
Reference in New Issue
Block a user