pub struct VerifiedHolder { /* private fields */ }Expand description
Who a connection is, as the one Connect verification proved it
(ACCESS-004 R1).
Only [PassVerifier::verify] makes one, from a pass whose registry
signature and validity window it has checked; there is no other
constructor, so no second credential scheme can produce one by accident.
ACCESS-001’s Lys-pass verifier becomes the second producer, in this module.
A bearer Connect names no one and yields none.
No code outside this module can build one (ACCESS-004 R1):
ⓘ
let holder = liminal_server::auth_pass::VerifiedHolder {
participant: b"watcher".to_vec(),
live: "watcher.".to_owned(),
};
drop(holder);Implementations§
Source§impl VerifiedHolder
impl VerifiedHolder
Sourcepub fn participant(&self) -> &[u8] ⓘ
pub fn participant(&self) -> &[u8] ⓘ
The holder’s participant bytes, as the pass named them.
Trait Implementations§
Source§impl Clone for VerifiedHolder
impl Clone for VerifiedHolder
Source§impl Debug for VerifiedHolder
impl Debug for VerifiedHolder
impl Eq for VerifiedHolder
Source§impl PartialEq for VerifiedHolder
impl PartialEq for VerifiedHolder
impl StructuralPartialEq for VerifiedHolder
Auto Trait Implementations§
impl Freeze for VerifiedHolder
impl RefUnwindSafe for VerifiedHolder
impl Send for VerifiedHolder
impl Sync for VerifiedHolder
impl Unpin for VerifiedHolder
impl UnsafeUnpin for VerifiedHolder
impl UnwindSafe for VerifiedHolder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.