Exemple #1
0
    // Start is called before the first frame update
    public void GoogleLogin()
    {
        PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder().Build();

        PlayGamesPlatform.InitializeInstance(config);
        PlayGamesPlatform.DebugLogEnabled = true;

        platform = PlayGamesPlatform.Activate();

        Social.Active.localUser.Authenticate(success =>
        {
            if (success)
            {
                Debug.Log("Logged in successfully");
                //debugText.text = Social.Active.localUser.userName;
                LocalUser = Social.Active.localUser;
                Photon.Pun.PhotonNetwork.NickName = LocalUser.userName;
                loginMethod = LoginMethod.Google;
                lobbyController.SetupGoogleHUD();
            }
            else
            {
                Debug.Log("Failed to log in!!!");
                debugText.text = "Could not connect to Google Play Services";
            }
        });
    }
Exemple #2
0
 public UserLoginInfo(string username, string password, string authtoken = "", LoginMethod loginMethod = LoginMethod.None)
 {
     Username    = username;
     Password    = password;
     AuthToken   = authtoken;
     LoginMethod = loginMethod;
 }
Exemple #3
0
        public void GetAccounts(string service_code, string service_region, bool fatal = true)
        {
            if (this.webtoken == null)
            {
                return;
            }

            LoginMethod loginMethod = this.cardid == null ? LoginMethod.Regular : LoginMethod.PlaySafe;

            Regex  regex;
            string response;

            if (loginMethod == LoginMethod.PlaySafe)
            {
                response = this.DownloadString("https://tw.beanfun.com/beanfun_block/auth.aspx?channel=game_zone&page_and_query=game_start.aspx%3Fservice_code_and_region%3D" + service_code + "_" + service_region + "&web_token=" + webtoken + "&cardid=" + this.cardid, Encoding.UTF8);
            }
            else
            {
                response = this.DownloadString("https://tw.beanfun.com/beanfun_block/auth.aspx?channel=game_zone&page_and_query=game_start.aspx%3Fservice_code_and_region%3D" + service_code + "_" + service_region + "&web_token=" + webtoken, Encoding.UTF8);
            }

            if (loginMethod == LoginMethod.PlaySafe)
            {
                regex = new Regex("id=\"__VIEWSTATE\" value=\"(.*)\" />");
                if (!regex.IsMatch(response))
                {
                    this.errmsg = "LoginNoViewstate"; return;
                }
                string viewstate = regex.Match(response).Groups[1].Value;
                regex = new Regex("id=\"__EVENTVALIDATION\" value=\"(.*)\" />");
                if (!regex.IsMatch(response))
                {
                    this.errmsg = "LoginNoEventvalidation"; return;
                }
                string eventvalidation      = regex.Match(response).Groups[1].Value;
                NameValueCollection payload = new NameValueCollection();
                payload.Add("__VIEWSTATE", viewstate);
                payload.Add("__EVENTVALIDATION", eventvalidation);
                payload.Add("btnCheckPLASYSAFE", "Hidden+Button");
                response = Encoding.UTF8.GetString(this.UploadValues("https://tw.beanfun.com/beanfun_block/auth.aspx?channel=game_zone&page_and_query=game_start.aspx%3Fservice_code_and_region%3D" + service_code + "_" + service_region + "&web_token=" + webtoken + "&cardid=" + cardid, payload));
            }

            // Add account list to ListView.
            regex = new Regex("<div id=\"(\\w+)\" sn=\"(\\d+)\" name=\"([^\"]+)\"");
            this.accountList.Clear();
            foreach (Match match in regex.Matches(response))
            {
                if (match.Groups[1].Value == "" || match.Groups[2].Value == "" || match.Groups[3].Value == "")
                {
                    continue;
                }
                accountList.Add(new AccountList(match.Groups[1].Value, match.Groups[2].Value, match.Groups[3].Value));
            }
            if (fatal && accountList.Count == 0)
            {
                this.errmsg = "LoginNoAccount"; return;
            }

            this.errmsg = null;
        }
Exemple #4
0
 void CheckIfSignedIn()
 {
     GameSettings.user.playerName = PlayerPrefs.GetString("Settings_PlayerName", "");
     GameSettings.user.token      = PlayerPrefs.GetString("Settings_Token", "");
     if (GameSettings.user.playerName.Length > 32)
     {
         GameSettings.user.playerName = GameSettings.user.playerName.Remove(32);
     }
     if (GameSettings.user.playerName.Trim() != "")
     {
         rememberMe = true;
         username   = GameSettings.user.playerName;
         //Check if logged in to Game Jolt
         if (GameSettings.user.UseGJ)
         {
             Debug.Log("Name found with token, verifying");
             method        = LoginMethod.GameJolt;
             username      = GameSettings.user.playerName;
             token         = GameSettings.user.token;
             isRemembering = true;
             isVerifying   = true;
             GJAPI.Users.Verify(username, token);
             GJAPI.Users.VerifyCallback += LogInCallback;
         }
         else
         {
             Accept();
             Debug.Log("Name found with no token, starting as anon");
         }
     }
 }
 public FUTRequestBase(FUTAccount account, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod loginMethod)
 {
     FUTAccount = account;
     RequestPerMinuteManager       = rpmManager;
     RequestPerMinuteManagerSearch = rpmManagerSearch;
     CurrentLoginMethod            = loginMethod;
 }
Exemple #6
0
        public async Task Login(string account, string password, LoginMethod method)
        {
            var skey = await GetSessionkeyAsync();

            var akey   = string.Empty;
            var cardid = string.Empty;

            switch (method)
            {
            case LoginMethod.General:
                akey = await GeneralLoginAsync(account, password, skey);

                break;

            case LoginMethod.QRCode:
                akey = await QRCodeLoginAsync(skey);

                if (string.IsNullOrEmpty(akey))
                {
                    return;
                }
                break;
            }

            await GetGameAccountAsync(skey, akey, method, cardid);

            if (OnLoginCompleted != null)
            {
                OnLoginCompleted?.Invoke(this, null);
            }

            KeepLogin();
        }
Exemple #7
0
 public static string GetFacebookLoginLink(string host, LoginMethod method)
 {
     var oAuthClient = new FacebookOAuthClient(FacebookApplication.Current);
     string redirectUrl = String.Format("{0}/{1}?method={2}", host, "login.aspx", EnumHelper.EnumToString(method));
     oAuthClient.RedirectUri = new Uri(redirectUrl);
     var loginUri = oAuthClient.GetLoginUrl(new Dictionary<string, object> { { "state", redirectUrl } });
     return loginUri.AbsoluteUri;
 }
Exemple #8
0
 /// <summary>
 /// ハッシュ値を計算します。
 /// </summary>
 public override int GetHashCode()
 {
     return(
         LoginMethod.GetHashCode() ^
         (Mail != null ? Mail.GetHashCode() : 0) ^
         (Password != null ? Password.GetHashCode() : 0) ^
         BrowserType.GetHashCode());
 }
Exemple #9
0
 public static string EnumToString(LoginMethod method)
 {
     switch (method)
     {
         case (LoginMethod.Facebook) : return "fb";
         case (LoginMethod.FacebookLocal): return "fblocal";
         case (LoginMethod.Legacy): return "legacy";
     }
     throw new IndexOutOfRangeException();
 }
Exemple #10
0
 public bool TryGetLoginMethod(out LoginMethod loginMethod)
 {
     loginMethod = LoginMethod.device_id;
     try {
         loginMethod = (LoginMethod)method;
         return(true);
     } catch (Exception) {
         return(false);
     }
 }
Exemple #11
0
        private void SetLoginMethod(LoginMethod method)
        {
            loginMethod = method;
            一般登入ToolStripMenuItem.BackColor   = (method == LoginMethod.General) ? Color.SkyBlue : SystemColors.Control;
            qRCodeToolStripMenuItem.BackColor = (method == LoginMethod.QRCode) ? Color.SkyBlue : SystemColors.Control;

            btn_login.Enabled = (method != LoginMethod.QRCode);

            textBox_beanfunPassword.MaxLength = 100;
            textBox_beanfunPassword.Text      = "";
        }
 /// <summary>
 /// 用户登陆
 /// </summary>
 /// <param name="userName">用户名/Uid/Email</param>
 /// <param name="passWord">密码</param>
 /// <param name="loginMethod">登录方式</param>
 /// <param name="checkques">需要登陆问题</param>
 /// <param name="questionId">问题ID</param>
 /// <param name="answer">答案</param>
 /// <returns></returns>
 public UcUserLogin UserLogin(string userName, string passWord, LoginMethod loginMethod = LoginMethod.UserName, bool checkques = false, int questionId = 0, string answer = "")
 {
     var args = new Dictionary<string, string>
                    {
                        {"username", userName},
                        {"password", passWord},
                        {"isuid", ((int) loginMethod).ToString()},
                        {"checkques", checkques ? "1" : "0"},
                        {"questionid", questionId.ToString()},
                        {"answer", answer}
                    };
     return new UcUserLogin(SendArgs(args, UcUserModelName.ModelName, UcUserModelName.ActionLogin));
 }
Exemple #13
0
        /// <summary>
        /// 用户登陆
        /// </summary>
        /// <param name="userName">用户名/Uid/Email</param>
        /// <param name="passWord">密码</param>
        /// <param name="loginMethod">登录方式</param>
        /// <param name="checkques">需要登陆问题</param>
        /// <param name="questionId">问题ID</param>
        /// <param name="answer">答案</param>
        /// <returns></returns>
        public UcUserLogin UserLogin(string userName, string passWord, LoginMethod loginMethod = LoginMethod.UserName, bool checkques = false, int questionId = 0, string answer = "")
        {
            var args = new Dictionary <string, string>
            {
                { "username", userName },
                { "password", passWord },
                { "isuid", ((int)loginMethod).ToString() },
                { "checkques", checkques ? "1" : "0" },
                { "questionid", questionId.ToString() },
                { "answer", answer }
            };

            return(new UcUserLogin(SendArgs(args, UcUserModelName.ModelName, UcUserModelName.ActionLogin)));
        }
Exemple #14
0
        //------------------------------------------------------------------------------------------

        public TelnetClient()
        {
            this.host  = null;
            this.port  = 23;
            this.login = null;
            this.passw = null;

            tcp = null;

            ConnectTimeout      = TimeSpan.FromMilliseconds(500);
            DataTransferTimeout = TimeSpan.FromMilliseconds(1000);

            LoginProc = DefaultLoginProc;
            ConnectionCheckingProc = DefaultConnCkeck;
        }
Exemple #15
0
 void StartOfflineMode()
 {
     Debug.Log("Offline mode!");
     method = LoginMethod.Anon;
     GameSettings.user.offlineMode = true;
     GameSettings.user.playerName  = PlayerPrefs.GetString("Settings_PlayerName", "");
     if (GameSettings.user.playerName.Length > 32)
     {
         GameSettings.user.playerName = GameSettings.user.playerName.Remove(32);
     }
     if (GameSettings.user.playerName.Trim() != "")
     {
         rememberMe = true;
         username   = GameSettings.user.playerName;
         Accept();
         Debug.Log("Name found while in offline mode, starting as anon");
     }
 }
Exemple #16
0
        public ActionResult Login1(string UserName, string PassWord, string Code)
        {
            ILogin Lo        = new LoginMethod();
            string checkcode = Session["CheckCode"].ToString().ToLower();

            string check = Lo.GetLogin(UserName, PassWord, Code);

            if (check == "登录成功")
            {
                if (checkcode != Code.ToString().ToLower())
                {
                    return(Json("验证码错误!"));
                }
                System.Web.HttpContext.Current.Session["UserName"] = UserName;
            }
            if (check == "系统管理员登录成功")
            {
                System.Web.HttpContext.Current.Session["UserName2"] = UserName;

                System.Web.HttpContext.Current.Session["UserName"]  = "";
                System.Web.HttpContext.Current.Session["UserName3"] = "";
                System.Web.HttpContext.Current.Session["UserName4"] = "";
                return(Json(check));
            }
            if (check == "出认证处管理员登录成功")
            {
                System.Web.HttpContext.Current.Session["UserName3"] = UserName;

                System.Web.HttpContext.Current.Session["UserName"]  = "";
                System.Web.HttpContext.Current.Session["UserName2"] = "";
                System.Web.HttpContext.Current.Session["UserName4"] = "";
                return(Json(check));
            }
            if (check == "国际展览部管理员登录成功")
            {
                System.Web.HttpContext.Current.Session["UserName4"] = UserName;

                System.Web.HttpContext.Current.Session["UserName"]  = "";
                System.Web.HttpContext.Current.Session["UserName2"] = "";
                System.Web.HttpContext.Current.Session["UserName3"] = "";
                return(Json(check));
            }
            return(Json(check));
        }
        public void Login(string login, string password, LoginMethod loginMethod)
        {
            _selenium.Open("/");
            _selenium.Click("link=Войти в магазин"); //Login link in header
            _selenium.Type("//div[@id='dlgContainer']/table/tbody/tr[2]/td[2]/input", login);
            _selenium.Type("//div[@id='dlgContainer']/table/tbody/tr[3]/td[2]/input", password);
            _selenium.Uncheck("//div[@id='dlgContainer']/table/tbody/tr[4]/td[2]/input"); //uncheck "remmember me check-box"

            switch (loginMethod)
            {
                case LoginMethod.ButtonClick:
                    _selenium.ClickAndWait("//div[@id='dlgContainer']/table/tbody/tr[4]/td[3]/a", WaitingType.PageLoad);
                    break;
                case LoginMethod.Keypress:
                    _selenium.KeyDownAndWait("//div[@id='dlgContainer']/table/tbody/tr[2]/td[2]/input", "\\13", WaitingType.PageLoad);
                    break;
                default:
                    throw new NotImplementedException();
            }
        }
Exemple #18
0
        public void Login(string login, string password, LoginMethod loginMethod)
        {
            _selenium.Open("/");
            _selenium.Click("link=Войти в магазин");             //Login link in header
            _selenium.Type("//div[@id='dlgContainer']/table/tbody/tr[2]/td[2]/input", login);
            _selenium.Type("//div[@id='dlgContainer']/table/tbody/tr[3]/td[2]/input", password);
            _selenium.Uncheck("//div[@id='dlgContainer']/table/tbody/tr[4]/td[2]/input");             //uncheck "remmember me check-box"

            switch (loginMethod)
            {
            case LoginMethod.ButtonClick:
                _selenium.ClickAndWait("//div[@id='dlgContainer']/table/tbody/tr[4]/td[3]/a", WaitingType.PageLoad);
                break;

            case LoginMethod.Keypress:
                _selenium.KeyDownAndWait("//div[@id='dlgContainer']/table/tbody/tr[2]/td[2]/input", "\\13", WaitingType.PageLoad);
                break;

            default:
                throw new NotImplementedException();
            }
        }
Exemple #19
0
        private async Task GetGameAccountAsync(string skey, string akey, LoginMethod method, string cardid)
        {
            await GetbfWebTokenAsync(skey, akey);

            string authUri = "https://tw.beanfun.com/beanfun_block/auth.aspx?channel=game_zone&page_and_query=game_start.aspx%3Fservice_code_and_region%3D" + service_code + "_" + service_region + "&web_token=" + bfWebToken;

            var request = CreateWebRequest(authUri);

            using (var response = await WebRequestExtensions.GetResponseAsync(request, MillisecondsTimeout))
                using (Stream ReceiveStream = response.GetResponseStream())
                    using (StreamReader readStream = new StreamReader(ReceiveStream, Encoding.UTF8))
                        while (!readStream.EndOfStream)
                        {
                            string line = readStream.ReadLine();
                            if (line.Contains("id=\"ulServiceAccountList\" class=\"ServiceAccountList\""))
                            {
                                line = readStream.ReadLine();
                                accountList.Clear();
                                var regex = new Regex("<div id=\"(\\w+)\" sn=\"(\\d+)\" name=\"([^\"]+)\"");
                                foreach (Match match in regex.Matches(line))
                                {
                                    if (match.Groups[1].Value == "" || match.Groups[2].Value == "" || match.Groups[3].Value == "")
                                    {
                                        throw new Exception("GetGameAccount Failed: No AccountList");
                                    }
                                    accountList.Add(new GameAccount(match.Groups[1].Value, match.Groups[2].Value, match.Groups[3].Value));
                                }
                                break;
                            }
                        }

            if (accountList.Count == 0)
            {
                throw new Exception("GetGameAccount Failed: No AccountList");
            }
        }
 public MoveItemToTradepileRequest(FUTAccount account, long itemID, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod login) : base(account, rpmManager, rpmManagerSearch, login)
 {
     _itemID = itemID;
 }
Exemple #21
0
 public UserHistoricalRequest(FUTAccount account, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod login) : base(account, rpmManager, rpmManagerSearch, login)
 {
 }
Exemple #22
0
    // Update is called once per frame
    void OnGUI()
    {
        if (started)
        {
            return;
        }
        GUI.skin = skin;
        GUIStyle smallButton = GUI.skin.GetStyle("smallButton");

        int startX = Mathf.Max(0, Screen.width / 2 - 300);
        int startY = Mathf.Max(0, Screen.height / 2 - 150);

        Rect rect = new Rect(
            startX,
            startY,
            Mathf.Min(Screen.width - startX, 600),
            Mathf.Min(Screen.height - startY, 300)
            );

        GUILayout.BeginArea(rect);
        GUIStyle centerStyle = new GUIStyle(GUI.skin.label);

        centerStyle.alignment = TextAnchor.MiddleCenter;
        if (isStarting)
        {
            GUILayout.FlexibleSpace();
            Spinner.DrawAt(new Vector2(rect.width / 2 - 16, rect.height / 2 - 16 - 32));
            GUILayout.Space(32);
            GUILayout.Label("Starting up...", centerStyle);
            GUILayout.FlexibleSpace();
        }
        else if (isRemembering)             //Don't show the login form if remembering
        {
            GUILayout.FlexibleSpace();
            Spinner.DrawAt(new Vector2(rect.width / 2 - 16, rect.height / 2 - 16 - 32));
            GUILayout.Space(32);
            GUILayout.Label("Logging in...", centerStyle);
            GUILayout.FlexibleSpace();
        }
        else
        {
            if (method == LoginMethod.Undecided)
            {
                GUILayout.Label("Welcome to Sanicball!");
                GUILayout.Label("Select an option below. Signing in with Game Jolt will in a future update let you submit your highscores online.");
                GUILayout.FlexibleSpace();
                GUILayout.BeginHorizontal();
                if (GUILayout.Button("Sign in with Game Jolt", GUI.skin.GetStyle("smallButtonGreen")))
                {
                    method = LoginMethod.GameJolt;
                }
                GUILayout.FlexibleSpace();
                if (GUILayout.Button("Stay anonymous", smallButton))
                {
                    method = LoginMethod.Anon;
                }
                GUILayout.EndHorizontal();
            }
            if (method == LoginMethod.GameJolt)
            {
                GUILayout.Label("GJ username: "******"Focus");
                username = GUILayout.TextField(username, 128);
                GUILayout.Label("User token: ");
                token      = GUILayout.PasswordField(token, (char)0x25CF, 128);
                rememberMe = GUILayout.Toggle(rememberMe, "Remember me");
                GUILayout.FlexibleSpace();
                GUILayout.BeginHorizontal();
                if ((GUILayout.Button("Log in", smallButton) || (Event.current.isKey && Event.current.keyCode == KeyCode.Return)) && !isVerifying)
                {
                    status = "";
                    if (username.Trim().Length <= 0)                       //Has the user typed something in the username field?
                    {
                        status = "You need to type an username.";
                    }
                    else if (token.Trim().Length <= 0)                         //Has the user typed something in the token field?
                    {
                        status = "You need to type in your token.";
                    }
                    else                         //Log in with the Game Jolt API
                    {
                        status      = "@spinner/Logging in...";
                        isVerifying = true;
                        GJAPI.Users.Verify(username, token);
                        GJAPI.Users.VerifyCallback += LogInCallback;
                    }
                }
                GUILayout.FlexibleSpace();
                if (GUILayout.Button("Cancel", smallButton))
                {
                    method = LoginMethod.Undecided;
                    status = "";
                }
                GUILayout.EndHorizontal();
            }
            if (method == LoginMethod.Anon)
            {
                if (GameSettings.user.offlineMode)
                {
                    GUILayout.Label("Failed to connect to Game Jolt! However, you can still play multiplayer anonymously.");
                }
                GUILayout.Label("Type the name you want to use:");
                GUI.SetNextControlName("Focus");
                username = GUILayout.TextField(username, 32);
                GUILayout.Label("Your name will be slightly grayed out in multiplayer to avoid impersonation.");
                rememberMe = GUILayout.Toggle(rememberMe, "Remember name");
                GUILayout.FlexibleSpace();
                GUILayout.BeginHorizontal();
                if (GUILayout.Button("Okay", smallButton) || (Event.current.isKey && Event.current.keyCode == KeyCode.Return))
                {
                    status = "";
                    if (username.Trim().Length <= 0)
                    {
                        status = "You need to type something.";
                    }
                    else
                    {
                        Accept();
                    }
                }
                if (!GameSettings.user.offlineMode)
                {
                    GUILayout.FlexibleSpace();
                    if (GUILayout.Button("Cancel", smallButton))
                    {
                        method = LoginMethod.Undecided;
                        status = "";
                    }
                }
                GUILayout.EndHorizontal();
            }
            if (status.StartsWith("@spinner/"))
            {
                Spinner.Draw(status.Replace("@spinner/", ""));
            }
            else
            {
                GUILayout.Label(status);
            }
        }
        GUILayout.EndArea();
    }
 public TransferMarketRequest(FUTAccount account, FUTSearchParameter item, bool isMuling, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod login) : base(account, rpmManager, rpmManagerSearch, login)
 {
     _item   = item;
     _muling = isMuling;
 }
 public PriceLimitsRequest(FUTAccount account, long assetID, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod login) : base(account, rpmManager, rpmManagerSearch, login)
 {
     _assetID = assetID;
 }
 public RemoveItemsFromWatchlistRequest(FUTAccount account, List <string> tradeIDs, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod login) : base(account, rpmManager, rpmManagerSearch, login)
 {
     _tradeIDs = tradeIDs;
 }
 public DiscardItemRequest(FUTAccount account, long item, bool isMuling, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod login) : base(account, rpmManager, rpmManagerSearch, login)
 {
     _item   = item;
     _muling = isMuling;
 }
 public CreditsRequest(FUTAccount account, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod login) : base(account, rpmManager, rpmManagerSearch, login)
 {
 }
Exemple #28
0
 public SolveCaptchaRequest(FUTAccount account, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod login, string captchaResult) : base(account, rpmManager, rpmManagerSearch, login)
 {
     _captchaResult = captchaResult;
 }
Exemple #29
0
 public NotAssignedRequest(FUTAccount account, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod login) : base(account, rpmManager, rpmManagerSearch, login)
 {
 }
 public RemoveItemFromTradepileRequest(FUTAccount account, long tradeID, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod login) : base(account, rpmManager, rpmManagerSearch, login)
 {
     _tradeID = tradeID;
 }
 public OfferItemOnTransferMarketRequest(FUTAccount account, OfferItemModel item, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod login) : base(account, rpmManager, rpmManagerSearch, login)
 {
     _item = item;
 }
Exemple #32
0
 public LoginAndroidRequest(FUTAccount account, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod login) : base(account, rpmManager, rpmManagerSearch, login)
 {
     _mailClient                = MailClientFactory.Create(account.EMail, account.EMailPassword);
     FUTAccount.FUTPlatform     = new FUTPlatform();
     FUTAccount.FUTPlatform.SKU = Constants.SKUAND;
 }
Exemple #33
0
 public void GuestLogin()
 {
     loginMethod = LoginMethod.Guest;
 }
Exemple #34
0
 public IOSLoginRequest(FUTAccount account, FUTSession session, RequestPerMinuteManager rpmManager, RequestPerMinuteManager rpmManagerSearch, LoginMethod login) : base(account, session, rpmManager, rpmManagerSearch, login)
 {
     _mailClient = MailClientFactory.Create(account.EMail, account.EMailPassword);
 }