From f132f9ccc87dbd7f2c780d7544df4b60fc2b930a Mon Sep 17 00:00:00 2001
From: Lennart <18233294+lennart-k@users.noreply.github.com>
Date: Sun, 13 Apr 2025 15:29:43 +0200
Subject: [PATCH] Add insert_principal method to AuthenticationProvider
---
crates/store/src/auth/mod.rs | 1 +
crates/store/src/auth/toml_user_store.rs | 14 ++++++++++++--
crates/store/src/auth/user.rs | 2 +-
3 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/crates/store/src/auth/mod.rs b/crates/store/src/auth/mod.rs
index 3b1774c..87dc280 100644
--- a/crates/store/src/auth/mod.rs
+++ b/crates/store/src/auth/mod.rs
@@ -7,6 +7,7 @@ use async_trait::async_trait;
#[async_trait]
pub trait AuthenticationProvider: 'static {
async fn get_principal(&self, id: &str) -> Result