Class LedgerCallCredentials

java.lang.Object
io.grpc.CallCredentials
com.daml.ledger.rxjava.grpc.helpers.LedgerCallCredentials

public final class LedgerCallCredentials extends io.grpc.CallCredentials
  • 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyRequestMetadata(io.grpc.CallCredentials.RequestInfo requestInfo, Executor appExecutor, io.grpc.CallCredentials.MetadataApplier applier)
     
    static <T extends io.grpc.stub.AbstractStub<T>>
    T
    authenticatingStub(T stub, String token)
     

    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

    • LedgerCallCredentials

      public LedgerCallCredentials(String token)
  • Method Details

    • authenticatingStub

      public static <T extends io.grpc.stub.AbstractStub<T>> T authenticatingStub(T stub, String token)
    • applyRequestMetadata

      public void applyRequestMetadata(io.grpc.CallCredentials.RequestInfo requestInfo, Executor appExecutor, io.grpc.CallCredentials.MetadataApplier applier)
      Specified by:
      applyRequestMetadata in class io.grpc.CallCredentials