Package io.grpc
Class CompositeChannelCredentials
java.lang.Object
io.grpc.ChannelCredentials
io.grpc.CompositeChannelCredentials
ChannelCredentials which use per-RPC CallCredentials. If the
ChannelCredentials has multiple CallCredentials (e.g., a composite credential inside a
composite credential), then all of the CallCredentials should be used; one
CallCredentials does not override another.-
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelCredentialscreate(ChannelCredentials channelCreds, CallCredentials callCreds) Returns the ChannelCredentials stripped of its CallCredentials.
-
Method Details
-
create
-
getChannelCredentials
-
getCallCredentials
-
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
-