PendingOutOfBandOperations
public protocol PendingOutOfBandOperations : HttpOperation
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 a 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.
Note
This is supported only when the backend uses nevisFIDO 7.2402.** or later.
Usage example:
client.operations.pendingOutOfBandOperations
.onResult { pendingOobOperationResult in
...
}
.execute()
See
payload
-
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). This object will be invoked in theDispatchQueue.main
thread.Important
Providing theonResult
block is required.Declaration
Swift
@discardableResult func onResult(_ onResult: @escaping (PendingOutOfBandOperationsResult) -> ()) -> PendingOutOfBandOperations
Parameters
onResult
the block to execute when the operation finishes.
Return Value
the
PendingOutOfBandOperations
builder.