fetch auth session data from token
This commit is contained in:
@@ -2,6 +2,7 @@ use uuid::Uuid;
|
||||
|
||||
use crate::domain::warren::{
|
||||
models::{
|
||||
auth_session::requests::FetchAuthSessionResponse,
|
||||
file::{File, FilePath},
|
||||
user::User,
|
||||
warren::Warren,
|
||||
@@ -128,4 +129,11 @@ impl AuthNotifier for NotifierDebugLogger {
|
||||
async fn auth_session_created(&self, user_id: &Uuid) {
|
||||
tracing::debug!("[Notifier] Created auth session for user {}", user_id);
|
||||
}
|
||||
|
||||
async fn auth_session_fetched(&self, response: &FetchAuthSessionResponse) {
|
||||
tracing::debug!(
|
||||
"[Notifier] Fetched auth session for user {}",
|
||||
response.user().id()
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user