Skip to content

Commit

Permalink
Merge pull request #153 from neo4j-php/stefanak-michal-patch-1
Browse files Browse the repository at this point in the history
Added bolt 5.6 as one of negotiated versions
  • Loading branch information
stefanak-michal authored Dec 3, 2024
2 parents b490977 + 0ce58c5 commit 0c229b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ where you can look into your version and bolt message.
:information_source: Annotation of methods in protocol classes contains direct link to specific version and message from mentioned
documentation website.

### Authentification
### Authentication

Method logon expects `$auth` array. This array has to contain up to these three keys: scheme, principal and credentials. It depends on chosen scheme, as content for the other keys. Look at following table to choose the right structure.

| scheme | principal | credentials |
|----------|-----------|-------------|
Expand Down
2 changes: 1 addition & 1 deletion src/Bolt.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct(private IConnection $connection)
$this->track();
}

$this->setProtocolVersions(5.4, 5, 4.4);
$this->setProtocolVersions(5.6, 5.4, 5, 4.4);
}

private function track(): void
Expand Down

0 comments on commit 0c229b6

Please sign in to comment.