onSuccess abstract method

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

Implementation

Authentication onSuccess(Function(AuthorizationProvider?) onSuccess);