reifydb-core 0.4.12

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: Apache-2.0
// Copyright (c) 2025 ReifyDB

use std::collections::HashMap;

use reifydb_type::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>,
}