Skip to main content

verified_agent_as

Function verified_agent_as 

Source
pub(crate) fn verified_agent_as(
    state: &AppState,
    caller: Option<&Caller>,
    agent_block_id: &str,
    auth: Option<&UiAutomationAuth>,
) -> Result<String, String>
Expand description

verified_agent for a caller whose token is known (caller): a container agent has a token and no signing key, and is proven by the token as Browser proves it. An SSH connection keeps the signature alone (verified_agent): it runs with the person’s own identity.