pub struct StaticAuthValidator { /* private fields */ }Expand description
Config-file-based authentication matching the C++ implementation.
Validates Basic auth (base64(user:password)) against a static user/role list.
Implementations§
Trait Implementations§
Source§impl AuthValidator for StaticAuthValidator
impl AuthValidator for StaticAuthValidator
Source§impl Clone for StaticAuthValidator
impl Clone for StaticAuthValidator
Source§fn clone(&self) -> StaticAuthValidator
fn clone(&self) -> StaticAuthValidator
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 moreAuto Trait Implementations§
impl Freeze for StaticAuthValidator
impl RefUnwindSafe for StaticAuthValidator
impl Send for StaticAuthValidator
impl Sync for StaticAuthValidator
impl Unpin for StaticAuthValidator
impl UnsafeUnpin for StaticAuthValidator
impl UnwindSafe for StaticAuthValidator
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