pub(crate) async fn serve<R: Runner>(
state: &AppState,
uid: &str,
def: &AgentDefinition,
req: AwsCredentialsRequest,
policy: Result<Option<Arc<Policy>>, String>,
sessions: &Sessions,
runner: &R,
) -> ResponseExpand description
The request once the agent is known: the checks, the cache or the mint, the audit row, the answer.