Failed Login Attempts ~
The number of failed login attempts a User is allowed before becoming 'blocked'.

@param string $value

@return $this
975111
public function setCoreFailedLoginAttempts($value)
    {
        $this->setFieldName('failed_login_attempts');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
148868
public function setValue( $value ) {
		$this->value = $this->cleanUpValue( $value );
		$this->input->setValue( $this->value );
		return $this;
	}
1064613
protected function parseIsPasswordGrantEnabled(string $value): Client
    {
        $value === '1' ? $this->enablePasswordGrant() : $this->disablePasswordGrant();

        return $this;
    }
1208286
public function setCustomerEmail($value)
    {
        if ($value !== null && filter_var($value, FILTER_VALIDATE_EMAIL) === false) {
            throw new ErrorParameter('Please, enter a valid email');
        }

        $this->customer_email = $value;
        return $this;
    }
543762
protected function parseIsImplicitAuthEnabled(string $value): Client
    {
        $value === '1' ? $this->enableImplicitGrant() : $this->disableImplicitGrant();

        return $this;
    }
610280
public function setCoreRequestMethodStrict($value)
    {
        $this->setFieldName('request_method_strict');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1154868
public function setId(int $value) : Permission
    {

        if ($this->data['id'] !== $value) {
            $this->data['id'] = $value;
            $this->setModified('id');
        }

        return $this;
    }
674105
public function setUserId(int $value) : Permission
    {

        // As this column is a foreign key, empty values should be considered null.
        if (empty($value)) {
            $value = null;
        }


        if ($this->data['user_id'] !== $value) {
            $this->data['user_id'] = $value;
            $this->setModified('user_id');
        }

        return $this;
    }
1193078
public function setDateActive($value) : User
    {
        $this->validateDate('DateActive', $value);

        if ($this->data['date_active'] !== $value) {
            $this->data['date_active'] = $value;
            $this->setModified('date_active');
        }

        return $this;
    }
76163
public function setPassword( $value )
	{
		if( (string) $value !== $this->getPassword() )
		{
			if( $this->helper !== null ) {
				$value = $this->helper->encode( $value, $this->getSalt() );
			}

			$this->values['customer.password'] = (string) $value;
			$this->setModified();
		}

		return $this;
	}
75430
public function add($value) {

		if($this->_ReadOnly){
			throw new ReadOnlyException(\get_called_class() . ' is read only');
		}
		
		$this->_Arr = \array_merge($this->_Arr, \func_get_args());
		
		return $this;
		
	}
158671
public function setInstances(int $value) : SearchIndex
    {

        if ($this->data['instances'] !== $value) {
            $this->data['instances'] = $value;
            $this->setModified('instances');
        }

        return $this;
    }
203915
public function setUserValue(string $value) : self
    {
        $this->user_value = $value;
        $this->is_valid = null;
        return $this;
    }
1135381
public function setCoreMailSmtpPass($value)
    {
        $this->setFieldName('mail_smtp_pass');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1282891
public function setCoreMailSmtpAuth($value)
    {
        $this->setFieldName('mail_smtp_auth');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1211621
static function setFailedLoginAttempts( $userID, $value = false, $setByForce = false )
    {
        $trustedUser = eZUser::isTrusted();
        // If user is trusted we should stop processing
        if ( $trustedUser and !$setByForce )
            return true;

        $maxNumberOfFailedLogin = eZUser::maxNumberOfFailedLogin();

        if ( $maxNumberOfFailedLogin == '0' and !$setByForce )
            return true;

        $userID = (int) $userID;
        $userObject = eZUser::fetch( $userID );
        if ( !$userObject )
            return true;

        $isEnabled = $userObject->isEnabled();
        // If current user is disabled we should not continue
        if ( !$isEnabled and !$setByForce )
            return true;

        $db = eZDB::instance();
        $db->begin();

        $userVisitArray = $db->arrayQuery( "SELECT 1 FROM ezuservisit WHERE user_id=$userID" );

        if ( isset( $userVisitArray[0] ) )
        {
            if ( $value === false )
            {
                $failedLoginAttempts = $userObject->failedLoginAttempts();
                $failedLoginAttempts += 1;
            }
            else
                $failedLoginAttempts = (int) $value;

            $db->query( "UPDATE ezuservisit SET failed_login_attempts=$failedLoginAttempts WHERE user_id=$userID" );
        }
        else
        {
            if ( $value === false )
            {
                $failedLoginAttempts = 1;
            }
            else
                $failedLoginAttempts = (int) $value;

            $db->query( "INSERT INTO ezuservisit ( failed_login_attempts, user_id ) VALUES ( $failedLoginAttempts, $userID )" );
        }
        $db->commit();

        eZContentCacheManager::clearContentCacheIfNeeded( $userID );
        eZContentCacheManager::generateObjectViewCache( $userID );
    }
745203
public function SetUseOldGetChallengeMethod( $Value )
		{
			$Previous = $this->UseOldGetChallengeMethod;
			
			$this->UseOldGetChallengeMethod = $Value === true;
			
			return $Previous;
		}