Skip to main content

authenticate

Function authenticate 

Source
pub async fn authenticate(
    state: &AppState,
    headers: &HeaderMap,
) -> Result<ApiCaller, AgentError>
Expand description

The caller of a request that must carry a key.