Package io.grpc.internal
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 Summary
Constructors Constructor Description DefaultChannelCreds()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelCredentialswithoutBearerTokens()Returns the ChannelCredentials stripped of its CallCredentials.
-
-
-
Method Detail
-
withoutBearerTokens
public ChannelCredentials withoutBearerTokens()
Description copied from class:ChannelCredentialsReturns 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:
withoutBearerTokensin classChannelCredentials
-
-