onSuccess abstract method
- String? newAccessToken
Call this method after retrieving a new token.
In case when app decides not to refresh the session for the user,
they should call this with newToken as null
.
Implementation
Future<void> onSuccess(String? newAccessToken);