pub struct DpopConfig {
pub proof_ttl_secs: u64,
pub max_clock_skew_secs: u64,
pub nonce_store_capacity: usize,
}Expand description
Configuration for DPoP proof verification.
Fields§
§proof_ttl_secs: u64How many seconds a proof is valid after issued_at. Default: 300.
max_clock_skew_secs: u64How many seconds of future-dated clock skew to tolerate. Default: 30.
nonce_store_capacity: usizeMaximum number of entries in the nonce replay cache. Default: 8192.
Trait Implementations§
Source§impl Clone for DpopConfig
impl Clone for DpopConfig
Source§fn clone(&self) -> DpopConfig
fn clone(&self) -> DpopConfig
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 DpopConfig
impl Debug for DpopConfig
Auto Trait Implementations§
impl Freeze for DpopConfig
impl RefUnwindSafe for DpopConfig
impl Send for DpopConfig
impl Sync for DpopConfig
impl Unpin for DpopConfig
impl UnsafeUnpin for DpopConfig
impl UnwindSafe for DpopConfig
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