onSuccess abstract method

AuthCloudApiRegistration 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 AuthCloudApiRegistration object.

Implementation

AuthCloudApiRegistration onSuccess(Function onSuccess);