Abstract
Abstract
requestSpecifies the additional request headers that must be included in the HTTP requests sent by the operation.
the HTTP headers.
an HttpOperation object.
Abstract
executeAbstract
payloadSpecifies the out-of-band payload to be handled.
IMPORTANT
Providing the out-of-band payload is required.
the payload.
an OutOfBandOperation object.
Abstract
onSpecifies the object that will handle the OutOfBandRegistration object associated with the out-of-band payload.
IMPORTANT
Providing at least one of the onRegistration or onAuthentication callbacks is
required.
the callback that will be invoked in case of registration.
an OutOfBandOperation object.
Abstract
onSpecifies the object that will handle the OutOfBandAuthentication object associated with the out-of-band payload.
IMPORTANT
Providing at least one of the onRegistration or onAuthentication callbacks is
required.
the callback that will be invoked in case of authentication.
an OutOfBandOperation object.
Abstract
onSpecifies the object that will be invoked if the OutOfBandPayload could not be decoded.
IMPORTANT
Providing the onError is required.
the callback which receives an OutOfBandPayloadError.
an OutOfBandPayloadDecode object.
Generated using TypeDoc
The operation managing an OutOfBandPayload.
An OutOfBandPayload can be provided through different means:
This operation will process the payload, decrypt it if needed and send it to the server. If the payload is successfully handled by the server, then the SDK will identify whether the operation associated with the payload is a registration or an authentication. Depending on that the onRegistration or the onAuthentication will be invoked.
Usage example:
See