refactor mutibility
This commit is contained in:
@@ -8,7 +8,6 @@ use uuid::Uuid;
|
||||
use crate::shared::models::email::Email;
|
||||
use crate::shared::models::opaque::{OpaqueSessionKey, UserSecretKey};
|
||||
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct LoggedInSession {
|
||||
pub(crate) session_id: Uuid,
|
||||
@@ -73,4 +72,3 @@ pub trait AuthAPI {
|
||||
async fn is_code_registered(&self, key_login_session: &KeyLoggedInSession) -> Result<bool, String>;
|
||||
async fn get_policy(&self) -> Result<NKodePolicy, String>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user