Package com.poker.client

Examples of com.poker.client.LoginInfo


        ObjectifyService.register(OtherPlayerInfo.class);
    }
 
  @Override
  public LoginInfo loginWithFBID(String nameAndId) {
    LoginInfo loginInfo = new LoginInfo();
    //judge if user exists
    if (nameAndId!= null) {
      String[] names=nameAndId.split("@");
      loginInfo.setLoggedIn(true);     
      loginInfo.setFbId(names[1]);
      loginInfo.setNickname(names[0]);
      String token =  channelService.createChannel(loginInfo.getFbId());
      loginInfo.setToken(token);
    } else {
      loginInfo.setLoggedIn(false);
    }
    return loginInfo;
  }
View Full Code Here

TOP

Related Classes of com.poker.client.LoginInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.