Isolate standalone key wallet handling

This commit is contained in:
fawney19
2026-04-27 17:24:31 +08:00
parent 3b542434a2
commit 1d23bf4ecb
12 changed files with 240 additions and 16 deletions
@@ -129,6 +129,7 @@ pub(crate) fn build_execution_runtime_auth_context(
api_key_name: auth_context.api_key_name.clone(),
balance_remaining: auth_context.balance_remaining,
access_allowed: auth_context.access_allowed,
api_key_is_standalone: auth_context.api_key_is_standalone,
}
}
@@ -50,6 +50,10 @@ pub(crate) fn build_local_execution_report_context(
"api_key_id".to_string(),
Value::String(parts.auth_context.api_key_id.clone()),
);
object.insert(
"api_key_is_standalone".to_string(),
Value::Bool(parts.auth_context.api_key_is_standalone),
);
object.insert(
"username".to_string(),
parts