Lockout
public struct Lockout : Codable, Sendable
A struct representing the password policy lockout rules.
Conforms to Codable for JSON encoding/decoding.
-
The number of failed login attempts that trigger a lockout.
Declaration
Swift
public let failureCount: Int -
The lockout duration in seconds once the failure threshold is reached.
Declaration
Swift
public let durationSeconds: Int -
Initializes a new
Lockoutinstance.Declaration
Swift
public init(from decoder: Decoder) throwsParameters
decoderThe decoder to read data from.
View on GitHub