onSuccess abstract method

OutOfBandRegistration onSuccess(
  1. Function onSuccess
)

Specifies the object that will be invoked if the registration completed successfully.

IMPORTANT
Providing the onSuccess is required.

Params:

  • onSuccess: the Function which is invoked on successful registration.

Returns: an OutOfBandRegistration object.

Implementation

OutOfBandRegistration onSuccess(Function onSuccess);