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 OutOfBandAuthentication object.
Implementation
OutOfBandAuthentication onSuccess(Function(AuthorizationProvider?) onSuccess);