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 for EventAuthenticationOd<'a>
impl<'a> PartialEq for EventAuthenticationOd<'a>
impl<'a> Eq for EventAuthenticationOd<'a>
impl Send for EventAuthenticationOd<'_>
Auto Trait Implementations§
impl<'a> Freeze for EventAuthenticationOd<'a>
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