Skip to content

Commit 00a3e33

Browse files
committed
Add docs for bearer_auth helper
1 parent a4238ed commit 00a3e33

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/source/api.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Example:
116116
117117
import neo4j
118118
119-
auth = neo4j.Auth(scheme="basic", principal="neo4j", credentials="password")
119+
auth = neo4j.Auth("basic", "neo4j", "password")
120120
121121
122122
Auth Token Helper Functions
@@ -128,6 +128,8 @@ Alternatively, one of the auth token helper functions can be used.
128128

129129
.. autofunction:: neo4j.kerberos_auth
130130

131+
.. autofunction:: neo4j.bearer_auth
132+
131133
.. autofunction:: neo4j.custom_auth
132134

133135

0 commit comments

Comments
 (0)