this.password = password;
}
@Override
public Identity call() throws AuthenticationException, IOException, InterruptedException {
YggdrasilSession session = new YggdrasilSession(account.getId());
session.setPassword(password);
session.verify();
List<Identity> identities = session.getIdentities();
// The list of identities (profiles in Mojang terms) corresponds to whether the account
// owns the game, so we need to check that
if (identities.size() > 0) {
account.setIdentities(identities);