pub async fn authenticate_bearer_context(
config: &SecurityConfig,
token: &str,
) -> Result<UserContext, StatusCode>Expand description
Verify bearer identity for a trusted non-HTTP host adapter using the same verifier as HTTP ingress. No caller assertions can create the returned proof.
ยงErrors
Rejects invalid, anonymous and incomplete configured identities.