onFinishAuthentication method Null safety
Informs user authentication has been finished.
If succeeded, valid user
object will be passed into the method.
Otherwise, error
contains information about authentication error.
Implementation
void onFinishAuthentication(User user, Error error) {}