OperationErrorType

@objc
public enum OperationErrorType : Int

The possible error types can occur during registration or deregistration.

  • An error that occurs with username-less out-of-band authentication. If the username of a registered account is provided to the NMAAccountSelectionHandler, but the user is not defined in the server where the token was redeemed.

    Declaration

    Swift

    case UserNotRegisteredInServer
  • An error that occurs during registration. When try to register a new authenticator in a server for a given username, but there is another authenticator already registered in another server for the same username.

    Important

    A username can only be defined in one server.

    Declaration

    Swift

    case UserAlreadyRegisteredInAnotherServer
  • A network error occurred while redeeming the token: either the server was not reachable or it returned an HTTP error.

    Declaration

    Swift

    case NetworkError
  • A FIDO UAF error occurred.

    Declaration

    Swift

    case FidoError
  • The clocks on the mobile and on the server are too apart and the server refused to validate the JWS You can ask the user to verify that the device clock is correctly set.

    Important

    This error occurs when a NMAJwsAuthorizationProvider was provided during NMADeregistration.

    Declaration

    Swift

    case ClockSkewTooBig
  • The dispatch target used to sign the JWS is not part of the requested device.

    Important

    This error occurs when a NMAJwsAuthorizationProvider was provided during NMADeregistration.

    Declaration

    Swift

    case Forbidden
  • The request was not authorized. It was not possible to verify the signature of the request.

    Important

    This error occurs when a NMAJwsAuthorizationProvider was provided during NMADeregistration.

    Declaration

    Swift

    case Unauthorized
  • The backend does not support using the NMAJwsAuthorizationProvider. To use NMAJwsAuthorizationProvider with deregistration, the backend must be running nevisFIDO 7.24.02 or later and the device service must be accessible.

    Important

    This error occurs when a NMAJwsAuthorizationProvider was provided during NMADeregistration.

    Declaration

    Swift

    case OperationNotSupportedByBackend
  • The iOS device has no passcode set.

    Declaration

    Swift

    case NoDeviceLockError
  • Unknown error, handling not categorized error cases.

    Requires

    iOS platform

    Declaration

    Swift

    case Unknown