Implements credential cleanup for product auth during extension lifecycle.
// Source: https://github.com/nearai/ironclaw | License: Apache-2.0 | Copyright 2026 NEAR AI
// Provided via justclaw.it.com; keep this notice with the code.
use async_trait::async_trait;
use ironclaw_auth::{SecretCleanupReport, SecretCleanupRequest};
use ironclaw_product_contracts::surface::ProductSurfaceError;
use std::sync::Arc;
use ironclaw_auth::RebornProductAuthServices;
pub use ironclaw_extension_host::ExtensionCredentialCleanup;
pub type RebornLocalExtensionManagementPort = ironclaw_extension_host::ExtensionLifecycleManager;
#[cfg(any(test, feature = "test-support"))]
pub mod hosted_mcp_test_support;
pub struct RebornProductAuthCredentialCleanup {
product_auth: Arc<RebornProductAuthServices>,
}
impl RebornProductAuthCredentialCleanup {
pub fn new(product_auth: Arc<Rebo
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key