nodedb 0.3.0-beta.1

Local-first, real-time, edge-to-cloud hybrid database for multi-modal workloads
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-License-Identifier: BUSL-1.1

//! Authenticated identity context attached to every audit entry.

/// Auth context for enriched audit entries.
#[derive(Debug, Clone, Default)]
pub struct AuditAuth {
    /// Authenticated user ID.
    pub user_id: String,
    /// Authenticated username (for display).
    pub user_name: String,
    /// Session ID for correlation.
    pub session_id: String,
}