pub struct PinnedJwksClient { /* private fields */ }Expand description
A JWKS client pinned to a fixed key set — no network, ever.
The adapter for air-gapped and policy-pinned deployments: the verifier operator ships the issuer’s JWKS alongside the policy (exactly like pinned trust roots) and token validation runs against those keys only. Also the honest adapter for hermetic tests.
Implementations§
Trait Implementations§
Source§impl JwksClient for PinnedJwksClient
impl JwksClient for PinnedJwksClient
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 PinnedJwksClient
impl RefUnwindSafe for PinnedJwksClient
impl Send for PinnedJwksClient
impl Sync for PinnedJwksClient
impl Unpin for PinnedJwksClient
impl UnsafeUnpin for PinnedJwksClient
impl UnwindSafe for PinnedJwksClient
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