Skip to main content

caller

Function caller 

Source
async fn caller(
    state: &AppState,
    headers: &HeaderMap,
) -> Result<Option<TokenRow>>
Expand description

The caller’s credential: None for anonymous, malformed and unknown keys alike, Err when the lookup itself failed, which each caller handles.