/// <summary> /// Called after checking access token and reading game ref id from database /// </summary> /// <param name="loginId"></param> /// <param name="accessToken"></param> /// <param name="gameRefId"></param> public void OnUserLoggedIn(FullUserAuth auth, LoginClientPeer peer) { lock (syncRoot) { LoggedInUser user; if (this.TryGetValue(auth.login, out user)) { this.Remove(auth.login); } this.Add(auth.login, new LoggedInUser(auth, peer)); log.InfoFormat("added user = {0} yellow", auth.login); } }
public LoggedInUser(FullUserAuth fAuth, LoginClientPeer peer) { this.auth = fAuth; this.peer = peer; }
public MethodInvoker(LoginApplication app, LoginClientPeer impeer) { application = app; peer = impeer; }