Skip to content

Commit 0c229b6

Browse files
Merge pull request #153 from neo4j-php/stefanak-michal-patch-1
Added bolt 5.6 as one of negotiated versions
2 parents b490977 + 0ce58c5 commit 0c229b6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ where you can look into your version and bolt message.
103103
:information_source: Annotation of methods in protocol classes contains direct link to specific version and message from mentioned
104104
documentation website.
105105

106-
### Authentification
106+
### Authentication
107+
108+
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.
107109

108110
| scheme | principal | credentials |
109111
|----------|-----------|-------------|

src/Bolt.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct(private IConnection $connection)
3333
$this->track();
3434
}
3535

36-
$this->setProtocolVersions(5.4, 5, 4.4);
36+
$this->setProtocolVersions(5.6, 5.4, 5, 4.4);
3737
}
3838

3939
private function track(): void

0 commit comments

Comments
 (0)