pub struct AuthenticatedOperation<'a>(/* private fields */);Expand description
Operation whose identity claims match the authenticated connection.
Implementations§
Source§impl<'a> AuthenticatedOperation<'a>
impl<'a> AuthenticatedOperation<'a>
Sourcepub const fn envelope(self) -> &'a OperationEnvelope
pub const fn envelope(self) -> &'a OperationEnvelope
Borrows the underlying wire envelope for application authorization.
Sourcepub fn provenance(self, auth: &AuthContext) -> TrustedProvenance
pub fn provenance(self, auth: &AuthContext) -> TrustedProvenance
Builds server-trusted identity and causal metadata after claim authentication succeeds.
Marks successful application authorization. Callers should invoke this only after their policy has approved the operation.
Trait Implementations§
Source§impl<'a> Clone for AuthenticatedOperation<'a>
impl<'a> Clone for AuthenticatedOperation<'a>
Source§fn clone(&self) -> AuthenticatedOperation<'a>
fn clone(&self) -> AuthenticatedOperation<'a>
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 moreimpl<'a> Copy for AuthenticatedOperation<'a>
Auto Trait Implementations§
impl<'a> Freeze for AuthenticatedOperation<'a>
impl<'a> RefUnwindSafe for AuthenticatedOperation<'a>
impl<'a> Send for AuthenticatedOperation<'a>
impl<'a> Sync for AuthenticatedOperation<'a>
impl<'a> Unpin for AuthenticatedOperation<'a>
impl<'a> UnsafeUnpin for AuthenticatedOperation<'a>
impl<'a> UnwindSafe for AuthenticatedOperation<'a>
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