reifydb-core 0.6.0

Core database interfaces and data structures for ReifyDB
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: AGPL-3.0-or-later
// Copyright (c) 2026 ReifyDB

use std::collections::HashMap;

use reifydb_value::value::identity::IdentityId;
use serde::{Deserialize, Serialize};

pub type AuthenticationId = u64;

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct Authentication {
	pub id: AuthenticationId,
	pub identity: IdentityId,
	pub method: String,
	pub properties: HashMap<String, String>,
}