Changelog :
- add eventBus when success autoRefreshToken
for example :
//implement this to all your activity
@Subscribe
public void onRefreshToken(QiscusRefreshTokenEvent event) {
if (event.isTokenExpired()) {
// isTokenExpired
} else if (event.isUnauthorized()) {
// isUnauthorized
} else if (event.isSuccessAutoRefreshToken()){
// success autoRefreshToken
} else {
// do somethings
}
}