pub fn extract_identity(headers: &HeaderMap, peer: Option<SocketAddr>) -> StringExpand description
Resolve a stable identity from the request headers + peer addr. Used by the axum middleware; exposed here so tests can reuse it.
pub fn extract_identity(headers: &HeaderMap, peer: Option<SocketAddr>) -> StringResolve a stable identity from the request headers + peer addr. Used by the axum middleware; exposed here so tests can reuse it.