PasswordUserVerificationContext
public protocol PasswordUserVerificationContext : UserVerificationContext
The object providing information about the password 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: PasswordAuthenticatorProtectionStatus { 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 password was provided in the previous invocation to
verify(_:)
and thus the protection status isLastAttemptFailed(remainingTries:coolDownTimeInSeconds:)
.Declaration
Swift
var lastRecoverableError: PasswordUserVerificationError? { get }