kODPolicyAttributePasswordHistory

Static kODPolicyAttributePasswordHistory 

Source
pub unsafe static kODPolicyAttributePasswordHistory: Option<&'static ODPolicyAttributeType>
Available on crate feature CFOpenDirectoryConstants only.
Expand description

Policy attribute for the list of previous password hashes

Policy attribute for the list of previous password hashes. The value of this attribute is a CFArray containing one or more CFData elements representing a hash of a previous password. Hash types may be mixed.

Used in Password Content policy strings to compare the new password against the password history, for example: [NSString stringWithFormat: “ none % @ in % “ , kODPolicyAttributePasswordHashes, kODPolicyAttributePasswordHistory];

See also Apple’s documentation