onSuccess abstract method

OutOfBandAuthentication onSuccess(
  1. dynamic onSuccess(
    1. AuthorizationProvider?
    )
)

Specifies the object that will be invoked if the authentication was successful.

IMPORTANT
Providing the onSuccess is required.

Params:

Returns: an OutOfBandAuthentication object.

Implementation

OutOfBandAuthentication onSuccess(Function(AuthorizationProvider?) onSuccess);