public final class CompositeChannelCredentials extends ChannelCredentials
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.| Modifier and Type | Method and Description |
|---|---|
static ChannelCredentials |
create(ChannelCredentials channelCreds,
CallCredentials callCreds) |
CallCredentials |
getCallCredentials() |
ChannelCredentials |
getChannelCredentials() |
ChannelCredentials |
withoutBearerTokens()
Returns the ChannelCredentials stripped of its CallCredentials.
|
public static ChannelCredentials create(ChannelCredentials channelCreds, CallCredentials callCreds)
public ChannelCredentials getChannelCredentials()
public CallCredentials getCallCredentials()
public ChannelCredentials withoutBearerTokens()
ChannelCredentialswithoutBearerTokens in class ChannelCredentials