onSuccess abstract method

PasswordChange onSuccess(
  1. Function onSuccess
)

Specifies the object that will be invoked if the password was successfully modified.

IMPORTANT
Providing the onSuccess is required.

Params:

  • onSuccess: the Function which will be invoked on successful password modification.

Returns: a PasswordChange object.

Implementation

PasswordChange onSuccess(Function onSuccess);