Files
qdrant-client/qdrant_client/auth/__init__.py
Olli-Pekka Heinisuo ef8e772542 Feat: bearer token authentication support (#591)
* bearer token authentication provider support

* add tests and checks, move auth file to separate dir

* fix error message

* remove locks

* rename var

* refactoring: refactor exceptions, fix mypy

* fix: regen async

* tests: extend token tests to check token updates

* new: add warning when auth token provider is used with an insecure connection

* fix: propagate auth token to rest client even with prefer_grpc set

---------

Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
2024-04-16 16:12:24 +02:00

2 lines
54 B
Python

from qdrant_client.auth.bearer_auth import BearerAuth