pub enum McpAuth {
None,
Bearer(String),
}Available on crate feature
mcp only.Expand description
Authentication strategy for an HTTP MCP connection.
Variants§
None
No authentication.
Bearer(String)
Static bearer token / OAuth access token sent as Authorization: Bearer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for McpAuth
impl RefUnwindSafe for McpAuth
impl Send for McpAuth
impl Sync for McpAuth
impl Unpin for McpAuth
impl UnsafeUnpin for McpAuth
impl UnwindSafe for McpAuth
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more