pub enum AuthnRequestAgePolicy {
Disabled,
Bounded {
max_age: Duration,
},
}Expand description
Maximum age for an inbound AuthnRequest IssueInstant.
Self::Disabled skips the comparison. Self::Bounded accepts an
instant inside an inclusive window of max_age, widened by the context
clock skew. The classification is
docs/conformance/web-browser-sso-acceptance.md.
Variants§
Disabled
Do not compare IssueInstant with the validation clock.
Bounded
Accept an IssueInstant inside an inclusive window of max_age.
Trait Implementations§
Source§impl Clone for AuthnRequestAgePolicy
impl Clone for AuthnRequestAgePolicy
impl Copy for AuthnRequestAgePolicy
Source§impl Debug for AuthnRequestAgePolicy
impl Debug for AuthnRequestAgePolicy
impl Eq for AuthnRequestAgePolicy
Source§impl PartialEq for AuthnRequestAgePolicy
impl PartialEq for AuthnRequestAgePolicy
impl StructuralPartialEq for AuthnRequestAgePolicy
Auto Trait Implementations§
impl Freeze for AuthnRequestAgePolicy
impl RefUnwindSafe for AuthnRequestAgePolicy
impl Send for AuthnRequestAgePolicy
impl Sync for AuthnRequestAgePolicy
impl Unpin for AuthnRequestAgePolicy
impl UnsafeUnpin for AuthnRequestAgePolicy
impl UnwindSafe for AuthnRequestAgePolicy
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