OperationError class abstract

An error occurred during registration or deregistration.

Inheritance
Implementers

Constructors

OperationError.clockSkewTooBig(Map<String, dynamic> json)
An error that indicates that the clocks on the mobile and on the server are too apart and the server refused to validate the JWS.
factory
OperationError.deviceProtectionError(Map<String, dynamic> json)
An error that indicates that some form of tampering was found in the application.
factory
OperationError.fido(Map<String, dynamic> json)
An error that indicates that a FIDO UAF error occurred during an operation.
factory
OperationError.forbidden(Map<String, dynamic> json)
An error that indicates that the dispatch target used to sign the JWS is not part of the requested device.
factory
OperationError.fromJson(Map<String, dynamic> json)
Alternate constructor to create an OperationError from json.
factory
OperationError.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
OperationError.noDeviceLockError(Map<String, dynamic> json)
An error that indicates that the device has no secure lock screen.
factory
OperationError.operationNotSupportedByBackend(Map<String, dynamic> json)
An error that indicates that the backend does not support using the JwsAuthorizationProvider.
factory
OperationError.unauthorized(Map<String, dynamic> json)
An error that indicates that the request was not authorized.
factory
OperationError.unknown(Map<String, dynamic> json)
Unknown operation error, handling not categorized error cases.
factory
OperationError.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
OperationError.userNotRegisteredInServer(Map<String, dynamic> json)
An error that occurs with username-less out-of-band authentication, if the username of a registered account is provided to the AccountSelectionHandler, but the user is not defined in the server where the token was redeemed.
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