pub struct DefaultJwtAuthorizer<Be, P, C> { /* private fields */ }Implementations§
Source§impl<Be, P, C> DefaultJwtAuthorizer<Be, P, C>
impl<Be, P, C> DefaultJwtAuthorizer<Be, P, C>
pub fn new( bearer_extractor: Be, jwk_set_provider: P, validation: Validation, ) -> Self
Trait Implementations§
Source§impl<Be, P, C> Clone for DefaultJwtAuthorizer<Be, P, C>
impl<Be, P, C> Clone for DefaultJwtAuthorizer<Be, P, C>
Source§impl<Be, P, C> Deref for DefaultJwtAuthorizer<Be, P, C>
impl<Be, P, C> Deref for DefaultJwtAuthorizer<Be, P, C>
Source§impl<Be, P, C> Extractor for DefaultJwtAuthorizer<Be, P, C>where
Be: BearerExtractor + Send + Sync,
P: JwkSetProvider + Send + Sync,
C: DeserializeOwned + Clone + Send + Sync + 'static,
impl<Be, P, C> Extractor for DefaultJwtAuthorizer<Be, P, C>where
Be: BearerExtractor + Send + Sync,
P: JwkSetProvider + Send + Sync,
C: DeserializeOwned + Clone + Send + Sync + 'static,
Auto Trait Implementations§
impl<Be, P, C> Freeze for DefaultJwtAuthorizer<Be, P, C>
impl<Be, P, C> RefUnwindSafe for DefaultJwtAuthorizer<Be, P, C>
impl<Be, P, C> Send for DefaultJwtAuthorizer<Be, P, C>
impl<Be, P, C> Sync for DefaultJwtAuthorizer<Be, P, C>
impl<Be, P, C> Unpin for DefaultJwtAuthorizer<Be, P, C>
impl<Be, P, C> UnwindSafe for DefaultJwtAuthorizer<Be, P, C>
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