use of se.light.assembly64.model.UserLite in project assembly64fx by freabemania.
the class UserService method loginToken.
public String loginToken(String email, String token) throws HttpException {
Response response = getClient().target(getBackendServer()).path("/leet/user3/tokenlogin/" + email + "/" + encrypt(token)).request().get();
if (response.getStatus() != 200) {
response.close();
throw new HttpException(response.getStatus());
}
userLite = response.readEntity(UserLite.class);
return userLite.getToken();
}
Aggregations