elasticsearch\Connection $auth

$auth public property

Authentication data used to connect to the ElasticSearch node.

Array elements:

  • username: the username for authentication.
  • password: the password for authentication.

Array either MUST contain both username and password on not contain any authentication credentials.

See also http://www.elasticsearch.org/guide/en/elasticsearch/client/php-api/current/_configuration.html#_example_configuring_http_basic_auth.

public array $auth = []
doc_Yii
2016-10-30 17:01:43
Comments
Leave a Comment

Please login to continue.