public void RefreshAccessToken() { if (TokenExpired != null) { var e = new TokenExpiredEventArgs(); e.RefreshToken = RefreshToken; TokenExpired(this, e); if (RefreshCallback != null) { RefreshCallback(this, AccessToken, RefreshToken); } } }
public void RefreshAccessToken() { if (TokenExpired != null) { var e = new TokenExpiredEventArgs(); e.RefreshToken = RefreshToken; TokenExpired(this, e); if (RefreshCallback != null) { RefreshCallback(this, AccessToken, RefreshToken); } } }