Package io.grpc.internal
Class ManagedChannelImpl.LbHelperImpl.DefaultChannelCreds
java.lang.Object
io.grpc.ChannelCredentials
io.grpc.internal.ManagedChannelImpl.LbHelperImpl.DefaultChannelCreds
- Enclosing class:
ManagedChannelImpl.LbHelperImpl
A placeholder for channel creds if user did not specify channel creds for the channel.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the ChannelCredentials stripped of its CallCredentials.
-
Constructor Details
-
DefaultChannelCreds
DefaultChannelCreds()
-
-
Method Details
-
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 classChannelCredentials
-