pub struct StaticMetadataFetcher { /* private fields */ }Expand description
Fixed JWKS for tests and examples without HTTP metadata discovery.
Implementations§
Trait Implementations§
Source§impl Clone for StaticMetadataFetcher
impl Clone for StaticMetadataFetcher
Source§fn clone(&self) -> StaticMetadataFetcher
fn clone(&self) -> StaticMetadataFetcher
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl MetadataFetcher for StaticMetadataFetcher
impl MetadataFetcher for StaticMetadataFetcher
fn resolve_jwks_uri<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_iss: &'life1 str,
_dwk: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn fetch_jwks<'life0, 'life1, 'async_trait>(
&'life0 self,
jwks_uri: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<JwkSet>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for StaticMetadataFetcher
impl RefUnwindSafe for StaticMetadataFetcher
impl Send for StaticMetadataFetcher
impl Sync for StaticMetadataFetcher
impl Unpin for StaticMetadataFetcher
impl UnsafeUnpin for StaticMetadataFetcher
impl UnwindSafe for StaticMetadataFetcher
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