Struct endpoint_sec::EventAuthenticationOd
source · pub struct EventAuthenticationOd<'a> { /* private fields */ }Available on crate feature
macos_13_0_0 and macOS only.Expand description
OpenDirectory authentication data
Implementations§
source§impl<'a> EventAuthenticationOd<'a>
impl<'a> EventAuthenticationOd<'a>
sourcepub fn instigator(&self) -> Process<'a>
pub fn instigator(&self) -> Process<'a>
Process that instigated the authentication (XPC caller that asked for authentication).
sourcepub fn record_type(&self) -> &'a OsStr
pub fn record_type(&self) -> &'a OsStr
OD record type against which OD is authenticating. Typically Users, but other record types
can auth too.
sourcepub fn record_name(&self) -> &'a OsStr
pub fn record_name(&self) -> &'a OsStr
OD record name against which OD is authenticating. For record type Users, this is the
username.
Trait Implementations§
source§impl<'a> Debug for EventAuthenticationOd<'a>
impl<'a> Debug for EventAuthenticationOd<'a>
source§impl<'a> Hash for EventAuthenticationOd<'a>
impl<'a> Hash for EventAuthenticationOd<'a>
source§impl<'a> PartialEq<EventAuthenticationOd<'a>> for EventAuthenticationOd<'a>
impl<'a> PartialEq<EventAuthenticationOd<'a>> for EventAuthenticationOd<'a>
impl<'a> Eq for EventAuthenticationOd<'a>
impl Send for EventAuthenticationOd<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for EventAuthenticationOd<'a>
impl<'a> !Sync for EventAuthenticationOd<'a>
impl<'a> Unpin for EventAuthenticationOd<'a>
impl<'a> UnwindSafe for EventAuthenticationOd<'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