1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-03-16 02:13:05 +01:00
This commit is contained in:
Michael Tidwell 2022-12-14 00:16:58 -05:00
parent d2b7229f88
commit b313f40ef0

View File

@ -106,9 +106,9 @@ impl Session {
}
/// Get a the session key itself from the overall session.
///
/// Needs to be implemented
/// Retrieve the overall session key
pub fn get_session_key(&self) -> secrecy::Secret<SessionKey> {
let key = self.0.borrow().session_key.clone();
let key = todo!("populate key somehow");
secrecy::Secret::new(key)
}
/// Get all raw key-value data from the session.