PendingOutOfBandOperations class abstract

The operation retrieving the out-of-band operations that have been started in the server, and must be handled by the application running the Mobile Authentication SDK on the device.

The retrieved operations have been neither timed-out, nor have been processed by the SDK, that is, they have not been processed using an OutOfBandOperation operation.

IMPORTANT
It is recommended to use this operation as sparsely as possible, because of the performance impact that it can have in the server. Do not use it for example with a polling mechanism.

This is supported only when the backend uses nevisFIDO 7.2402.** or later.

Usage example:

  [...]
  Future<void> retrievePendingOutOfBandOperations({
    required Operations operations,
  }) async {
    operations.pendingOutOfBandOperations()
      .onResult((result) {
        // handle the retrieved out-of-band operations. For example
        // they can be processed using an OutOfBandOperation.
      })
      .execute();
  }
  [...]
Inheritance

Constructors

PendingOutOfBandOperations()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

execute() Future<void>
Executes the operation asynchronously.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResult(dynamic onResult(PendingOutOfBandOperationsResult)) PendingOutOfBandOperations
Specifies the object that will be invoked with the PendingOutOfBandOperationsResult containing the pending out-of-band operations for this application and the errors (if any).
requestHeaders(RequestHeaders requestHeaders) PendingOutOfBandOperations
Specifies the additional request headers that must be included in the HTTP requests sent by the operation.
inherited
toString() String
A string representation of this object.
inherited

Operators

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