onError abstract method
- dynamic onError( )
Specifies the object that will be invoked if the authentication failed.
IMPORTANT
Providing the onError is required.
Params:
- onError: the Function which receives an AuthenticationError.
Returns: an Authentication object.
Implementation
Authentication onError(Function(AuthenticationError) onError);