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 | Field and Description |
|---|---|
| private final CallCredentials | |
| private final ChannelCredentials |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ChannelCredentials | |
| public CallCredentials | |
| public ChannelCredentials | |
| public ChannelCredentials | withoutBearerTokens()
Implements abstract io. |
| callCredentials | back to summary |
|---|---|
| private final CallCredentials callCredentials | |
| channelCredentials | back to summary |
|---|---|
| private final ChannelCredentials channelCredentials | |
| CompositeChannelCredentials | back to summary |
|---|---|
| private CompositeChannelCredentials(ChannelCredentials channelCreds, CallCredentials callCreds) | |
| create | back to summary |
|---|---|
| public static ChannelCredentials create(ChannelCredentials channelCreds, CallCredentials callCreds) | |
| getCallCredentials | back to summary |
|---|---|
| public CallCredentials getCallCredentials() | |
| getChannelCredentials | back to summary |
|---|---|
| public ChannelCredentials getChannelCredentials() | |
| withoutBearerTokens | back to summary |
|---|---|
| public ChannelCredentials withoutBearerTokens() Implements abstract io. Doc from io. 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).
| |