pub struct JwksConfig {
pub uri: String,
pub refresh_interval_seconds: u64,
pub max_backoff_seconds: u64,
}Expand description
JWKS endpoint configuration
Fields§
§uri: StringJWKS endpoint URL
refresh_interval_seconds: u64Refresh interval in seconds (default: 300 = 5 minutes)
max_backoff_seconds: u64Maximum backoff in seconds (default: 3600 = 1 hour)
Trait Implementations§
Source§impl Clone for JwksConfig
impl Clone for JwksConfig
Source§fn clone(&self) -> JwksConfig
fn clone(&self) -> JwksConfig
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 JwksConfig
impl Debug for JwksConfig
Source§impl<'de> Deserialize<'de> for JwksConfig
impl<'de> Deserialize<'de> for JwksConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JwksConfig
impl RefUnwindSafe for JwksConfig
impl Send for JwksConfig
impl Sync for JwksConfig
impl Unpin for JwksConfig
impl UnwindSafe for JwksConfig
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