pub struct ClientAssertionOptions {
pub lifetime_seconds: Option<u64>,
pub now: Option<i64>,
pub jti: Option<String>,
}Expand description
Test hooks and the lifetime of one assertion.
Fields§
§lifetime_seconds: Option<u64>Seconds the assertion is valid for: 1 to 300 (default 60).
now: Option<i64>Issued-at, unix seconds. For tests: a real call leaves it out and gets the current time.
jti: Option<String>For tests: a real call leaves it out and every assertion gets a fresh random jti.
Trait Implementations§
Source§impl Clone for ClientAssertionOptions
impl Clone for ClientAssertionOptions
Source§fn clone(&self) -> ClientAssertionOptions
fn clone(&self) -> ClientAssertionOptions
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 Debug for ClientAssertionOptions
impl Debug for ClientAssertionOptions
Source§impl Default for ClientAssertionOptions
impl Default for ClientAssertionOptions
Source§fn default() -> ClientAssertionOptions
fn default() -> ClientAssertionOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientAssertionOptions
impl RefUnwindSafe for ClientAssertionOptions
impl Send for ClientAssertionOptions
impl Sync for ClientAssertionOptions
impl Unpin for ClientAssertionOptions
impl UnsafeUnpin for ClientAssertionOptions
impl UnwindSafe for ClientAssertionOptions
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