pub struct BearerTokenExtractor;Expand description
Extracts JWT tokens from the Authorization: Bearer <token> header.
This is the default extractor used by Claims<T> when no extractor is specified.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BearerTokenExtractor
impl RefUnwindSafe for BearerTokenExtractor
impl Send for BearerTokenExtractor
impl Sync for BearerTokenExtractor
impl Unpin for BearerTokenExtractor
impl UnwindSafe for BearerTokenExtractor
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