ChannelCredentials, where any one may be used. The credentials are in
preference order.
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ChannelCredentials | create(ChannelCredentials... creds)
Constructs with the provided |
| public List | |
| public ChannelCredentials | withoutBearerTokens()
Implements abstract io. |
| creds | back to summary |
|---|---|
| private final List<ChannelCredentials> creds | |
| ChoiceChannelCredentials | back to summary |
|---|---|
| private ChoiceChannelCredentials(List<ChannelCredentials> creds) | |
| create | back to summary |
|---|---|
| public static ChannelCredentials create(ChannelCredentials... creds) Constructs with the provided
| |
| getCredentialsList | back to summary |
|---|---|
| public List Non-empty list of credentials, in preference order. | |
| 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).
| |