pub(crate) fn http_bearer_token(
ctx: &RequestContext<RoleServer>,
) -> Option<String>Expand description
Extract HTTP Authorization: Bearer <token> from rmcp RequestContext.
Only HTTP transport has http::request::Parts in ctx.extensions; stdio
returns None. Auth scheme parsing is shared with other surfaces through
futu_auth_pipeline::parse_bearer_scheme.