pub struct RemoteJwksDecoderConfig {
pub cache_duration: Duration,
pub retry_count: usize,
pub backoff: Duration,
}Fields§
§cache_duration: DurationHow long to cache the JWKS keys for
retry_count: usizeHow many times to retry fetching the JWKS keys if it fails
backoff: DurationHow long to wait before retrying fetching the JWKS keys
Implementations§
Source§impl RemoteJwksDecoderConfig
impl RemoteJwksDecoderConfig
Sourcepub fn builder() -> RemoteJwksDecoderConfigBuilder
pub fn builder() -> RemoteJwksDecoderConfigBuilder
Creates a new RemoteJwksDecoderConfigBuilder.
This is a convenience method to create a builder for the config.
Trait Implementations§
Source§impl Clone for RemoteJwksDecoderConfig
impl Clone for RemoteJwksDecoderConfig
Source§fn clone(&self) -> RemoteJwksDecoderConfig
fn clone(&self) -> RemoteJwksDecoderConfig
Returns a copy 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