pub struct Extractors<ClaimsType: Claims + Debug> { /* private fields */ }Implementations§
Source§impl<ClaimsType: Claims> Extractors<ClaimsType>
impl<ClaimsType: Claims> Extractors<ClaimsType>
Add cookie extractor for refresh token.
Sourcepub fn with_refresh_header(self, name: &'static str) -> Self
pub fn with_refresh_header(self, name: &'static str) -> Self
Add header extractor for refresh token.
Add cookie extractor for json web token.
Sourcepub fn with_jwt_header(self, name: &'static str) -> Self
pub fn with_jwt_header(self, name: &'static str) -> Self
Add header extractor for json web token.
Trait Implementations§
Source§impl<ClaimsType: Clone + Claims + Debug> Clone for Extractors<ClaimsType>
impl<ClaimsType: Clone + Claims + Debug> Clone for Extractors<ClaimsType>
Source§fn clone(&self) -> Extractors<ClaimsType>
fn clone(&self) -> Extractors<ClaimsType>
Returns a copy 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<ClaimsType> Freeze for Extractors<ClaimsType>
impl<ClaimsType> !RefUnwindSafe for Extractors<ClaimsType>
impl<ClaimsType> Send for Extractors<ClaimsType>
impl<ClaimsType> Sync for Extractors<ClaimsType>
impl<ClaimsType> Unpin for Extractors<ClaimsType>
impl<ClaimsType> !UnwindSafe for Extractors<ClaimsType>
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