NeoGraph
0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
sqlite_core_tool_grant_store.h
1
#pragma once
2
3
#include <neograph/program/core_tool_grant_store.h>
4
5
#include <memory>
6
#include <string>
7
8
namespace
neograph::program {
9
11
class
NEOGRAPH_PROGRAM_API
SQLiteProgramCoreToolGrantStore
final
12
:
public
SyncProgramCoreToolGrantStore
{
13
public
:
14
explicit
SQLiteProgramCoreToolGrantStore
(std::string database_path);
15
~SQLiteProgramCoreToolGrantStore
()
override
;
16
17
SQLiteProgramCoreToolGrantStore
(
const
SQLiteProgramCoreToolGrantStore
&) =
delete
;
18
SQLiteProgramCoreToolGrantStore
& operator=(
const
SQLiteProgramCoreToolGrantStore
&) =
delete
;
19
20
ProgramCoreToolGrantAdmission admit_sync(
21
const
ProgramCoreToolGrantRecord
& record)
override
;
22
std::optional<ProgramCoreToolGrantRecord> load_sync(
23
const
ProgramCoreToolGrantContext
& context)
const override
;
24
bool
revoke_sync(
const
ProgramCoreToolGrantContext
& context)
override
;
25
26
private
:
27
struct
Impl;
28
std::unique_ptr<Impl> impl_;
29
};
30
31
}
// namespace neograph::program
neograph::program::SQLiteProgramCoreToolGrantStore
SQLite-backed, owner-scoped, immutable Core Tool grant records.
Definition
sqlite_core_tool_grant_store.h:12
neograph::program::SyncProgramCoreToolGrantStore
Base of a ProgramCoreToolGrantStore whose backend is synchronous.
Definition
core_tool_grant_store.h:59
neograph::program::ProgramCoreToolGrantContext
Immutable Program identity presented to a host before one Core operation.
Definition
core_tool_grant.h:20
neograph::program::ProgramCoreToolGrantRecord
Host-admitted identity, not an executable capability or a Program proposal.
Definition
core_tool_grant_store.h:19
include
neograph
program
sqlite_core_tool_grant_store.h
Generated by
1.9.8