pub unsafe static kODPolicyAttributeLastFailedAuthenticationTime: Option<&'static ODPolicyAttributeType>Available on crate feature
CFOpenDirectoryConstants only.Expand description
Policy attribute for the time of the last failed auth attempt.
Policy attribute for the time of the last failed auth attempt. CFNumber with a value representing the the number of seconds since the Unix epoch. Used in policies to compare against other times. As an example, this policy string would prevent another authentication within 10 seconds of a failed authentication: [NSString stringWithFormat: “ % @
% @
- 10“, kODPolicyAttributeCurrentTime, kODPolicyAttributeLastFailedAuthenticationTime];
See also Apple’s documentation