pub struct JwtTargetAcceptanceAudit { /* private fields */ }Expand description
Strict value-free aggregate audit for the target portion.
Implementations§
Source§impl JwtTargetAcceptanceAudit
impl JwtTargetAcceptanceAudit
Sourcepub fn from_legs(
policy: &JwtTargetAcceptancePolicy,
legs: Vec<JwtTargetAcceptanceLegFact>,
) -> Result<Self, JwtTargetAcceptanceAuditError>
pub fn from_legs( policy: &JwtTargetAcceptancePolicy, legs: Vec<JwtTargetAcceptanceLegFact>, ) -> Result<Self, JwtTargetAcceptanceAuditError>
Validates six exact ordered roles and derives a strict aggregate audit.
Sourcepub fn not_eligible(
policy: &JwtTargetAcceptancePolicy,
reason: JwtTargetAcceptanceNotEligibleReason,
) -> Self
pub fn not_eligible( policy: &JwtTargetAcceptancePolicy, reason: JwtTargetAcceptanceNotEligibleReason, ) -> Self
Creates a zero-request audit when prerequisites are not established.
Sourcepub fn operator_policy_reference(&self) -> &str
pub fn operator_policy_reference(&self) -> &str
Safe non-secret operator policy reference.
Sourcepub fn operator_policy_revision(&self) -> &str
pub fn operator_policy_revision(&self) -> &str
Safe non-secret operator policy revision.
Sourcepub fn resource_reference(&self) -> &str
pub fn resource_reference(&self) -> &str
Safe non-secret selected-resource reference.
Sourcepub const fn method(&self) -> JwtTargetAcceptanceMethod
pub const fn method(&self) -> JwtTargetAcceptanceMethod
Fixed request method.
Sourcepub fn legs(&self) -> &[JwtTargetAcceptanceLegFact]
pub fn legs(&self) -> &[JwtTargetAcceptanceLegFact]
Ordered value-free leg facts. This is empty only for not_eligible.
Sourcepub const fn accounting(&self) -> JwtTargetAcceptanceAccounting
pub const fn accounting(&self) -> JwtTargetAcceptanceAccounting
Derived integer accounting.
Sourcepub const fn valid_marker(&self) -> JwtTargetAcceptanceDimension
pub const fn valid_marker(&self) -> JwtTargetAcceptanceDimension
Stable valid-token marker dimension.
Sourcepub const fn anonymous_marker(&self) -> JwtTargetAcceptanceDimension
pub const fn anonymous_marker(&self) -> JwtTargetAcceptanceDimension
Stable anonymous marker dimension.
Sourcepub const fn invalid_marker(&self) -> JwtTargetAcceptanceDimension
pub const fn invalid_marker(&self) -> JwtTargetAcceptanceDimension
Stable invalid-signature control marker dimension.
Sourcepub const fn conclusion(&self) -> JwtTargetAcceptanceConclusion
pub const fn conclusion(&self) -> JwtTargetAcceptanceConclusion
Conservative aggregate conclusion.
Trait Implementations§
Source§impl Clone for JwtTargetAcceptanceAudit
impl Clone for JwtTargetAcceptanceAudit
Source§fn clone(&self) -> JwtTargetAcceptanceAudit
fn clone(&self) -> JwtTargetAcceptanceAudit
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 JwtTargetAcceptanceAudit
impl Debug for JwtTargetAcceptanceAudit
impl Eq for JwtTargetAcceptanceAudit
Source§impl PartialEq for JwtTargetAcceptanceAudit
impl PartialEq for JwtTargetAcceptanceAudit
Source§impl Serialize for JwtTargetAcceptanceAudit
impl Serialize for JwtTargetAcceptanceAudit
impl StructuralPartialEq for JwtTargetAcceptanceAudit
Auto Trait Implementations§
impl Freeze for JwtTargetAcceptanceAudit
impl RefUnwindSafe for JwtTargetAcceptanceAudit
impl Send for JwtTargetAcceptanceAudit
impl Sync for JwtTargetAcceptanceAudit
impl Unpin for JwtTargetAcceptanceAudit
impl UnsafeUnpin for JwtTargetAcceptanceAudit
impl UnwindSafe for JwtTargetAcceptanceAudit
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more