Skip to main content

bearer_header

Function bearer_header 

Source
pub fn bearer_header(tokens: &McpOAuthTokens) -> (String, String)
Expand description

Build the Authorization: Bearer <token> header value for a stored McpOAuthTokens — the shape crate::mcp::McpClient::connect_http/ connect_sse’s headers map expects.