private void resetPass(object sender, EventArgs e, string email)
 {
     if (ValidateEmailAddress (email)) {
         Toast.MakeText (c, Resource.String.passwordRecoveryRequestingResetCode, ToastLength.Short).Show ();
         this.emailAddress = email;
         LOLConnectClient service = new LOLConnectClient (LOLConstants.DefaultHttpBinding, LOLConstants.LOLConnectEndpoint);
         /*service.UserGetResetTokenCompleted += Service_UserGetResetTokenCompleted;
         service.UserGetResetTokenAsync (emailAddress, new Guid (AndroidData.ServiceAuthToken));*/
         service.AuthenticationTokenGetCompleted += Service_AuthenticationTokenGetCompleted;
         service.AuthenticationTokenGetAsync (AndroidData.NewDeviceID);
     }
 }
 private void startUserLogin(ISocialProviderManager provider)
 {
     parent.RunOnUiThread(() => Toast.MakeText(c, Resource.String.commonLoggingIn, ToastLength.Short).Show());
     LOLConnectClient service = new LOLConnectClient(LOLConstants.DefaultHttpBinding,
         LOLConstants.LOLConnectEndpoint);
     service.AuthenticationTokenGetCompleted += Service_AuthenticationTokenGetCompleted;
     service.AuthenticationTokenGetAsync(AndroidData.NewDeviceID, provider);
 }
        private void createUser(object s, EventArgs e)
        {
            if (ValidateEntries(firstName.Text, lastName.Text, email.Text, password.Text) != false)
            {
                RunOnUiThread(delegate
                {
                    progress = ProgressDialog.Show(context, Application.Context.Resources.GetString(Resource.String.loginRegistrationLOL),
                        Application.Context.Resources.GetString(Resource.String.loginRegistrationMessage));
                });

                LOLConnectClient service = new LOLConnectClient(LOLConstants.DefaultHttpBinding, LOLConstants.LOLConnectEndpoint);
                service.AuthenticationTokenGetCompleted += Service_AuthenticationTokenGetCompleted;
                service.AuthenticationTokenGetAsync(AndroidData.NewDeviceID);
            } else
            {
                EnableAll();
            }
        }
        private void startLogin(object s, EventArgs e)
        {
            if (ValidateEmailField(email.Text))
            {
                RunOnUiThread(() => Toast.MakeText(c, Resource.String.commonLoggingIn, ToastLength.Short).Show());

                LOLConnectClient service = new LOLConnectClient(LOLConstants.DefaultHttpBinding, LOLConstants.LOLConnectEndpoint);
                service.AuthenticationTokenGetCompleted += Service_AuthTokenCompleted;
                service.AuthenticationTokenGetAsync(AndroidData.NewDeviceID);
            }
        }
        private void createUser()
        {
            RunOnUiThread(delegate
            {
                progress = ProgressDialog.Show(context, Application.Context.Resources.GetString(Resource.String.loginRegistrationLOL),
                                                    Application.Context.Resources.GetString(Resource.String.loginRegistrationMessage));
            });

            LOLConnectClient service = new LOLConnectClient(LOLConstants.DefaultHttpBinding, LOLConstants.LOLConnectEndpoint);
            service.AuthenticationTokenGetCompleted += Service_AuthenticationTokenGetCompleted;
            service.AuthenticationTokenGetAsync(AndroidData.NewDeviceID);
        }