pub struct AllowAllAuthProvider;Expand description
Default allow-all provider (returns anonymous auth context).
Trait Implementations§
Source§impl AuthProvider for AllowAllAuthProvider
impl AuthProvider for AllowAllAuthProvider
Source§fn authenticate(
&self,
_ctx: &McpContext,
_request: AuthRequest<'_>,
) -> Result<AuthContext, McpError>
fn authenticate( &self, _ctx: &McpContext, _request: AuthRequest<'_>, ) -> Result<AuthContext, McpError>
Authenticate an incoming request. Read more
Source§impl Clone for AllowAllAuthProvider
impl Clone for AllowAllAuthProvider
Source§fn clone(&self) -> AllowAllAuthProvider
fn clone(&self) -> AllowAllAuthProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AllowAllAuthProvider
impl Debug for AllowAllAuthProvider
Source§impl Default for AllowAllAuthProvider
impl Default for AllowAllAuthProvider
Source§fn default() -> AllowAllAuthProvider
fn default() -> AllowAllAuthProvider
Returns the “default value” for a type. Read more
impl Copy for AllowAllAuthProvider
Auto Trait Implementations§
impl Freeze for AllowAllAuthProvider
impl RefUnwindSafe for AllowAllAuthProvider
impl Send for AllowAllAuthProvider
impl Sync for AllowAllAuthProvider
impl Unpin for AllowAllAuthProvider
impl UnwindSafe for AllowAllAuthProvider
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).