}
}
private void checkTokenInfo(AuthenticateResponse response) {
if (response == null || response.getToken() == null || response.getToken().getExpires() == null) {
throw new IllegalArgumentException("Invalid token");
<BUG>}
if (response.getToken().getTenant() == null) {
throw new IllegalArgumentException("Invalid Response from Auth. Token object must have a tenant");</BUG>
}
if (response.getUser() == null) {

}
}
private void checkTokenInfo(AuthenticateResponse response) {
if (response == null || response.getToken() == null || response.getToken().getExpires() == null) {
throw new IllegalArgumentException("Invalid token");
}
if (response.getUser() == null) {
