pub struct EventAuthenticationToken<'a> { /* private fields */ }
Available on crate feature
macos_13_0_0
and macOS only.Expand description
Token authentication data
Implementations§
Source§impl<'a> EventAuthenticationToken<'a>
impl<'a> EventAuthenticationToken<'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 pubkey_hash(&self) -> &'a OsStr
pub fn pubkey_hash(&self) -> &'a OsStr
Hash of the public key which CryptoTokenKit is authenticating.
Sourcepub fn token_id(&self) -> &'a OsStr
pub fn token_id(&self) -> &'a OsStr
Token identifier of the event which CryptoTokenKit is authenticating.
Sourcepub fn kerberos_principal(&self) -> &'a OsStr
pub fn kerberos_principal(&self) -> &'a OsStr
Optional. This will be available if token is used for GSS PKINIT authentication for
obtaining a kerberos TGT. NULL
in all other cases.
Trait Implementations§
Source§impl<'a> Debug for EventAuthenticationToken<'a>
impl<'a> Debug for EventAuthenticationToken<'a>
Source§impl<'a> Hash for EventAuthenticationToken<'a>
impl<'a> Hash for EventAuthenticationToken<'a>
Source§impl<'a> PartialEq for EventAuthenticationToken<'a>
impl<'a> PartialEq for EventAuthenticationToken<'a>
impl<'a> Eq for EventAuthenticationToken<'a>
impl Send for EventAuthenticationToken<'_>
Auto Trait Implementations§
impl<'a> Freeze for EventAuthenticationToken<'a>
impl<'a> RefUnwindSafe for EventAuthenticationToken<'a>
impl<'a> !Sync for EventAuthenticationToken<'a>
impl<'a> Unpin for EventAuthenticationToken<'a>
impl<'a> UnwindSafe for EventAuthenticationToken<'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