PinUserVerificationContext
public protocol PinUserVerificationContext : UserVerificationContext
The object providing information about the PIN user verification (i.e. the user credential validation) operation to be done.
This object contains the information required to ask the user to authenticate: the authenticator to be used, whether there were previous errors authenticating, etc.
-
The authenticator protection status.
Declaration
Swift
var authenticatorProtectionStatus: PinAuthenticatorProtectionStatus { get }
-
When a recoverable error occurred during the last credential verification, this method returns the object describing the last error. If present, this means that an invalid PIN was provided in the previous invocation to
verify(_:)
and thus the protection status isLastAttemptFailed(remainingTries:coolDownTimeInSeconds:)
.Declaration
Swift
var lastRecoverableError: PinUserVerificationError? { get }