onSuccess abstract method
- dynamic onSuccess( )
Specifies the object that will be invoked if the authentication was successful.
IMPORTANT
Providing the onSuccess is required.
Params:
- onSuccess: the
Function
which receives an optional AuthorizationProvider.
Returns: an Authentication object.
Implementation
Authentication onSuccess(Function(AuthorizationProvider?) onSuccess);