Class AuthCallCredentials


  • public class AuthCallCredentials
    extends io.grpc.CallCredentials
    Adds Authorization header with configured configured authentication scheme token supplied by tokeSupplier
    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.grpc.CallCredentials

        io.grpc.CallCredentials.MetadataApplier, io.grpc.CallCredentials.RequestInfo
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void applyRequestMetadata​(io.grpc.CallCredentials.RequestInfo requestInfo, java.util.concurrent.Executor appExecutor, io.grpc.CallCredentials.MetadataApplier metadataApplier)  
      void thisUsesUnstableApi()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • applyRequestMetadata

        public void applyRequestMetadata​(io.grpc.CallCredentials.RequestInfo requestInfo,
                                         java.util.concurrent.Executor appExecutor,
                                         io.grpc.CallCredentials.MetadataApplier metadataApplier)
        Specified by:
        applyRequestMetadata in class io.grpc.CallCredentials
      • thisUsesUnstableApi

        public void thisUsesUnstableApi()
        Specified by:
        thisUsesUnstableApi in class io.grpc.CallCredentials