onLogout static method
void
onLogout()
Stops the token refresh loop and clears token data
Implementation
static void onLogout() {
stopRefreshTokenLoop();
tokenResponse = null;
token = null;
refreshToken = null;
tokenData = {};
}