Class ManagedChannelImpl.LbHelperImpl.DefaultChannelCreds

java.lang.Object
io.grpc.ChannelCredentials
io.grpc.internal.ManagedChannelImpl.LbHelperImpl.DefaultChannelCreds
Enclosing class:
ManagedChannelImpl.LbHelperImpl

final class ManagedChannelImpl.LbHelperImpl.DefaultChannelCreds extends ChannelCredentials
A placeholder for channel creds if user did not specify channel creds for the channel.
  • Constructor Details

    • DefaultChannelCreds

      DefaultChannelCreds()
  • Method Details

    • withoutBearerTokens

      public ChannelCredentials withoutBearerTokens()
      Description copied from class: ChannelCredentials
      Returns the ChannelCredentials stripped of its CallCredentials. In the future, this may strip only some of the CallCredentials, preserving call credentials that are safe from replay attacks (e.g., if the token is bound to the channel's certificate).
      Specified by:
      withoutBearerTokens in class ChannelCredentials