CredentialState
public final class CredentialState
Class that represents the current state of a credential, to use in a login process.
Note:
One instance of this class can be used during a complete login process with a CredentialValue
in order to update informations contained in the PIN dialog.
-
Declaration
Swift
public init(remainingTries: Int, facialRemainingTries: Int, error: String)
-
Declaration
Swift
public init()
-
Returns the PIN remaining tries that can will be displayed in the PIN dialog.
Declaration
Swift
public func getRemainingTries() -> Int
Return Value
the PIN remaining tries displayed in the PIN dialog.
-
Returns the biometry facial authentication object remaining tries that can will be displayed in the PIN dialog.
Declaration
Swift
public func getFacialRemainingTries() -> Int
Return Value
the biometry facial remaining tries displayed in the PIN dialog.
-
Returns the message error that will be displayed in the PIN dialog.
Declaration
Swift
public func getError() -> String
Return Value
the message error.