pub struct HttpJwksClient { /* private fields */ }Expand description
HTTP-based implementation of JwksClient with built-in caching.
Caches JWKS responses with configurable TTL to avoid repeated network calls. Implements refresh-ahead pattern to reduce cache misses.
Implementations§
Trait Implementations§
Source§impl JwksClient for HttpJwksClient
impl JwksClient for HttpJwksClient
Source§fn fetch_jwks<'life0, 'life1, 'async_trait>(
&'life0 self,
issuer_url: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Value, OidcError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_jwks<'life0, 'life1, 'async_trait>(
&'life0 self,
issuer_url: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Value, OidcError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Fetch the JWKS from the specified issuer endpoint. Read more
Auto Trait Implementations§
impl Freeze for HttpJwksClient
impl !RefUnwindSafe for HttpJwksClient
impl Send for HttpJwksClient
impl Sync for HttpJwksClient
impl Unpin for HttpJwksClient
impl UnsafeUnpin for HttpJwksClient
impl !UnwindSafe for HttpJwksClient
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