Skip to main content

serve

Function serve 

Source
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,
) -> Response
Expand description

The request once the agent is known: the checks, the cache or the mint, the audit row, the answer.