History
public struct History : Codable, Sendable
A struct representing the password policy history.
Conforms to Codable for JSON encoding/decoding.
-
The number of recent passwords to keep in history to disallow reuse.
Declaration
Swift
public let count: Int -
The retention period (in days) for password history entries.
Declaration
Swift
public let retentionDays: Int -
Initializes a new
Historyinstance.Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderThe decoder to read data from.
View on GitHub