Abstract
Abstract
executeAbstract
jsonSpecifies the JSON to be decoded.
IMPORTANT
You must provide either the JSON through this method, or the Base64 URL encoded representation
of the JSON with the base64UrlEncoded method. Only one of them can be provided.
the JSON.
an OutOfBandPayloadDecode object.
Abstract
base64Specifies the JSON as Base64 URL encoded string to be decoded.
IMPORTANT
You must provide either the Base64 URL encoded representation of the JSON through this method,
or the JSON itself with the json method. Only one of them can be provided.
the JSON encoded as a Base64 URL encoded string.
an OutOfBandPayloadDecode object.
Abstract
onSpecifies the object that will be invoked if the OutOfBandPayload was decoded.
IMPORTANT
Providing the onSuccess is required.
the callback which receives an optional OutOfBandPayload.
Optional
payload: OutOfBandPayloadan OutOfBandPayloadDecode 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 object that decodes an OutOfBandPayload from a string in JSON format or a Base64 URL encoded string representing the JSON.
The OutOfBandPayload can be used to trigger an out-of-band operation (see OutOfBandOperation).
Usage example:
The JSON is obtained from a push notification, or as a Base64 URL encoded JSON in QR codes generated by the server. JSON example: