pub struct RemoteJwksDecoderConfig {
pub cache_duration: Duration,
pub retry_count: usize,
pub backoff: Duration,
}Expand description
Configuration for remote JWKS fetching and caching behavior.
Fields§
§cache_duration: DurationDuration to cache JWKS keys before refreshing (default: 1 hour)
retry_count: usizeNumber of retry attempts when fetching JWKS fails (default: 3)
backoff: DurationDelay between retry attempts (default: 1 second)
Implementations§
Source§impl RemoteJwksDecoderConfig
impl RemoteJwksDecoderConfig
Sourcepub fn builder() -> RemoteJwksDecoderConfigBuilder
pub fn builder() -> RemoteJwksDecoderConfigBuilder
Creates a new builder for configuring JWKS fetching behavior.
Trait Implementations§
Source§impl Clone for RemoteJwksDecoderConfig
impl Clone for RemoteJwksDecoderConfig
Source§fn clone(&self) -> RemoteJwksDecoderConfig
fn clone(&self) -> RemoteJwksDecoderConfig
Returns a duplicate 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 moreSource§impl Debug for RemoteJwksDecoderConfig
impl Debug for RemoteJwksDecoderConfig
Auto Trait Implementations§
impl Freeze for RemoteJwksDecoderConfig
impl RefUnwindSafe for RemoteJwksDecoderConfig
impl Send for RemoteJwksDecoderConfig
impl Sync for RemoteJwksDecoderConfig
impl Unpin for RemoteJwksDecoderConfig
impl UnwindSafe for RemoteJwksDecoderConfig
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