LdapTools\Operation\AuthenticationResponse::__construct PHP Method

__construct() public method

public __construct ( boolean $authenticated, null | string $message = null, null | integer $code = null )
$authenticated boolean
$message null | string
$code null | integer
    public function __construct($authenticated, $message = null, $code = null)
    {
        $this->isAuthenticated = (bool) $authenticated;
        $this->errorMessage = $message;
        $this->errorCode = $code;
    }