Skip to main content

ensure_agent_credential_at

Function ensure_agent_credential_at 

Source
async fn ensure_agent_credential_at(
    agent_id: &str,
    mstore: &Arc<Store>,
    http: &Client,
    base: &str,
    user_token: impl Future<Output = Result<String, String>>,
) -> Option<String>
Expand description

ensure_agent_credential’s body, with the relay base URL and the human’s token (only awaited when provisioning) injectable for tests.