AppPinConfig
public class AppPinConfig : AuthenticatorConfig
Configuration class for AppPinAuthenticator that defines PIN collection, storage, and security settings.
-
Logger instance used for debugging and monitoring authentication operations.
Declaration
Swift
public var logger: Logger? -
The prompt object containing title and description to be shown to the user.
Declaration
Swift
public var prompt: Prompt -
The number of PIN retry attempts before lockout.
Declaration
Swift
public var pinRetry: Int -
The key tag to use for the CryptoKey.
Declaration
Swift
public var keyTag: String -
The pin collector to be used.
Declaration
Swift
public var pinCollector: PinCollector -
Initializes a new
AppPinConfig.Declaration
Swift
public init(logger: Logger? = nil, prompt: Prompt = Prompt(title: "Enter PIN", subtitle: "", description: "Please enter your application PIN to continue."), pinRetry: Int = 3, keyTag: String = UUID().uuidString, pinCollector: PinCollector? = nil)
View on GitHub