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

    Constructors
    Constructor
    Description
    Instantiates a new instance of ApiKeyCredentials
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyRequestMetadata(io.grpc.CallCredentials.RequestInfo requestInfo, Executor appExecutor, io.grpc.CallCredentials.MetadataApplier applier)
     

    Methods inherited from class io.grpc.CallCredentials

    thisUsesUnstableApi

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ApiKeyCredentials

      public ApiKeyCredentials(String apiKey)
      Instantiates a new instance of ApiKeyCredentials
      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 class io.grpc.CallCredentials