FioriPasscodeRule
public struct FioriPasscodeRule
A user-defined passcode rule that can be added to a FioriPasscodePolicy.
-
The text shown for this rule in the requirement checklist.
Declaration
Swift
public let displayName: String -
Whether this rule is shown to the user in the checklist.
Declaration
Swift
public let isDisplayed: Bool -
Creates a user-defined passcode rule.
Declaration
Swift
public init(displayName: String, isDisplayed: Bool, rule: @escaping (String) -> Bool)Parameters
displayNameThe text shown for this rule in the requirement checklist.
isDisplayedWhether this rule is shown to the user in the checklist.
ruleThe closure that returns
truewhen the passcode satisfies the rule.