FidoErrorCode

@objc
public enum FidoErrorCode : Int
extension FidoErrorCode: LocalizedError

A type that represents an error that can be thrown by the FIDO Client.

  • The operation completed with no error condition encountered.

    Declaration

    Swift

    case noError = 0x0
  • Waiting on user action to proceed. For example, selecting an authenticator in the FIDO client user interface, performing user verification, or completing an enrollment step with an authenticator.

    Declaration

    Swift

    case waitUserAction = 0x01
  • The protocol is not https or the DOM contains insecure mixed content.

    Declaration

    Swift

    case insecureTransport = 0x02
  • The user declined any necessary part of the interaction to complete the registration.

    Declaration

    Swift

    case userCanceled = 0x03
  • The UAFMessage does not specify a protocol version supported by this FIDO UAF Client.

    Declaration

    Swift

    case unsupportedVersion = 0x04
  • No authenticator matching the authenticator policy specified in the UAFMessage is available to service the request, or the user declined to consent to the use of a suitable authenticator.

    Declaration

    Swift

    case noSuitableAuthenticator = 0x05
  • A violation of the UAF protocol occurred. The interaction may have timed out; the origin associated with the message may not match the origin of the calling DOM context, or the protocol message may be malformed or tampered with.

    Declaration

    Swift

    case protocolError = 0x06
  • The client declined to process the operation because the caller’s calculated facet identifier was not found in the trusted list for the application identifier specified in the request message.

    Declaration

    Swift

    case untrustedFacetID = 0x07
  • The user authentication key disappeared from the authenticator and cannot be restored.

    Declaration

    Swift

    case keyDisappearedPermanently = 0x09
  • The access was denied by the authenticator.

    Declaration

    Swift

    case authenticatorAccessDenied = 0x0C
  • The transaction content cannot be rendered, e.g. format doesn’t fit authenticator’s need.

    Declaration

    Swift

    case invalidTransactionContent = 0x0D
  • The user took too long to follow an instruction.

    Declaration

    Swift

    case userNotResponsive = 0x0E
  • Insufficient resources in the authenticator to perform the requested task.

    Declaration

    Swift

    case insufficientAuthenticatorResources = 0x0F
  • The operation failed because the user is locked out and the authenticator cannot automatically trigger an action to change that.

    Declaration

    Swift

    case userLockout = 0x10
  • The operation failed because the user is not enrolled to the authenticator.

    Declaration

    Swift

    case userNotEnrolled = 0x11
  • An error condition not described by the other errors or not representing a FIDO operation error.

    Declaration

    Swift

    case unknown = 0xFF
  • A localized message describing what error occurred.

    Declaration

    Swift

    public var errorDescription: String? { get }