pub struct RejectAllValidator;Expand description
A token validator that rejects all tokens
This is useful for testing authentication failure scenarios.
Trait Implementations§
Source§impl TokenValidator for RejectAllValidator
impl TokenValidator for RejectAllValidator
Auto Trait Implementations§
impl Freeze for RejectAllValidator
impl RefUnwindSafe for RejectAllValidator
impl Send for RejectAllValidator
impl Sync for RejectAllValidator
impl Unpin for RejectAllValidator
impl UnwindSafe for RejectAllValidator
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