AuthCloudApiError class abstract

An error occurred during auth cloud api registration.

Inheritance
Implementers

Constructors

AuthCloudApiError.decryptionError(Map<String, dynamic> json)
The encrypted contents of the Auth Cloud API response could not be decrypted.
factory
AuthCloudApiError.deviceProtectionError(Map<String, dynamic> json)
An error that indicates that some form of tampering was found in the application.
factory
AuthCloudApiError.fido(Map<String, dynamic> json)
An error that indicates that a FIDO UAF error occurred during the operation.
factory
AuthCloudApiError.fromJson(Map<String, dynamic> json)
Alternate constructor to create an AuthCloudApiError from json.
factory
AuthCloudApiError.malformedPayload(Map<String, dynamic> json)
A problem with the provided Auth Cloud API response occurred.
factory
AuthCloudApiError.networkError(Map<String, dynamic> json)
A network error occurred while redeeming the token: either the server was not reachable or it returned an HTTP error.
factory
AuthCloudApiError.noDeviceLockError(Map<String, dynamic> json)
An error that indicates that the device has no secure lock screen.
factory
AuthCloudApiError.tokenAlreadyRedeemed(Map<String, dynamic> json)
An error that indicates that the token was already redeemed.
factory
AuthCloudApiError.tokenExpired(Map<String, dynamic> json)
An error that indicates that the token has expired.
factory
AuthCloudApiError.unknown(Map<String, dynamic> json)
Unknown operation error, handling not categorized error cases.
factory
AuthCloudApiError.userAlreadyRegisteredInAnotherServer(Map<String, dynamic> json)
An error that occurs with registration when we try to register a new authenticator in a server for a given username, and there is an authenticator already registered in another server for that username.
factory

Properties

cause → String?
The exception (if any) that caused this error.
no setterinherited
description → String
Provides details about the error that occurred.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJson(Map<String, dynamic> json) → dynamic
Returns a value of the type you specify, deserialized from a JSON object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Returns a JSON-encoded representation of the value you supply.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited