AuthCloudApiErrorType

@objc
public enum AuthCloudApiErrorType : Int

The possible error types can occur during NMAAuthCloudApiRegistration operation.

  • A problem with the provided Auth Cloud API response occurred. The message was malformed.

    Declaration

    Swift

    case MalformedPayload
  • The encrypted contents of the Auth Cloud API response could not be decrypted. This occurs for instance when the keys that are used to decrypt the Auth Cloud API response are deleted.

    Declaration

    Swift

    case DecryptionError
  • The token was already redeemed. This can occur for instance when a user scans twice the same QR code containing a token (a token can only be used once).

    Declaration

    Swift

    case TokenAlreadyRedeemed
  • The token has expired. This occurs for example when it took to long to the user to scan a QR code or to open a push notification.

    Declaration

    Swift

    case TokenExpired
  • 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.

    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
  • Unknown error, handling not categorized error cases.

    Requires

    iOS platform

    Declaration

    Swift

    case Unknown