Package io.qdrant.client
Class ApiKeyCredentials
java.lang.Object
io.grpc.CallCredentials
io.qdrant.client.ApiKeyCredentials
public class ApiKeyCredentials
extends io.grpc.CallCredentials
API key authentication credentials
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.CallCredentials
io.grpc.CallCredentials.MetadataApplier, io.grpc.CallCredentials.RequestInfo
-
Constructor Summary
ConstructorDescriptionApiKeyCredentials
(String apiKey) Instantiates a new instance ofApiKeyCredentials
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyRequestMetadata
(io.grpc.CallCredentials.RequestInfo requestInfo, Executor appExecutor, io.grpc.CallCredentials.MetadataApplier applier) Methods inherited from class io.grpc.CallCredentials
thisUsesUnstableApi
-
Constructor Details
-
ApiKeyCredentials
Instantiates a new instance ofApiKeyCredentials
- Parameters:
apiKey
- The API key to use for authentication
-
-
Method Details
-
applyRequestMetadata
public void applyRequestMetadata(io.grpc.CallCredentials.RequestInfo requestInfo, Executor appExecutor, io.grpc.CallCredentials.MetadataApplier applier) - Specified by:
applyRequestMetadata
in classio.grpc.CallCredentials
-