KeylessError
Declarationpublic let defaultLivenessChallenges: UInt
enrollmentFailed(title:message:userCancelled:errorCode:)
title
: Human readable error title.message
: Human readable error message detailing the error.userCancelled
: true
indicates that the user cancelled enrollment.errrorCode
: Code to distinguish the error.case enrollmentFailed(title: String, message: String, userCancelled: Bool, errorCode: Int32)
authenticationFailed(title:message:userCancelled:errorCode:)
title
: Human readable error title.message
: Human readable error message detailing the error.userCancelled
: true
indicates that the user cancelled authentication.errrorCode
: Code to distinguish the error.case authenticationFailed(title: String, message: String, userCancelled: Bool, errorCode: Int32)
deEnrollmentFailed(title:message:userCancelled:errorCode:)
title
: Human readable error title.message
: Human readable error message detailing the error.userCancelled
: true
is the user cancelled de-enrollment.errrorCode
: Code to distinguish the error.case deEnrollmentFailed(title: String, message: String, userCancelled: Bool, errorCode: Int32)
wrongStatus
case wrongStatus
initializationFailure(:)
String
: The reason for the failure.case initializationFailure(String?)
internalError(title:message:errorCode:)
title
: Human readable error title.message
: Human readable error message detailing the error.errrorCode
: Code to distinguish the error.case internalError(title: String, message: String, errorCode: Int32)
getBackupFailed
case getBackupFailed
configFailed(:)
case configFailed(Int32)
KeylessStatus
Declarationpublic enum KeylessStatus
notEnrolled
case notEnrolled
enrolled(keylessID:)
keylessID
: A string that uniquely identifies the user (the same returned by the KeylessDelegateProtocol.enrollmentDidFinish(...)
delegate method).case enrolled(keylessID: String
enrolledCustomToken
case enrolledCustomToken