pub struct AllowAllAuthPlugin;Expand description
Development-only plugin that allows all connections
§Warning
This should only be used for local development. Never use in production.
Trait Implementations§
Source§impl WebSocketAuthPlugin for AllowAllAuthPlugin
impl WebSocketAuthPlugin for AllowAllAuthPlugin
fn as_any(&self) -> &dyn Any
Source§fn audit_logger(&self) -> Option<&dyn SecurityAuditLogger>
fn audit_logger(&self) -> Option<&dyn SecurityAuditLogger>
Get the audit logger if configured
Source§fn log_audit<'life0, 'async_trait>(
&'life0 self,
event: SecurityAuditEvent,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn log_audit<'life0, 'async_trait>(
&'life0 self,
event: SecurityAuditEvent,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Log a security audit event if audit logging is enabled
Source§fn auth_metrics(&self) -> Option<&AuthMetrics>
fn auth_metrics(&self) -> Option<&AuthMetrics>
Get auth metrics if configured
Auto Trait Implementations§
impl Freeze for AllowAllAuthPlugin
impl RefUnwindSafe for AllowAllAuthPlugin
impl Send for AllowAllAuthPlugin
impl Sync for AllowAllAuthPlugin
impl Unpin for AllowAllAuthPlugin
impl UnsafeUnpin for AllowAllAuthPlugin
impl UnwindSafe for AllowAllAuthPlugin
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