@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/7514") public class XdsChannelCredentials extends Object
Modifier and Type | Method and Description |
---|---|
static ChannelCredentials |
create(ChannelCredentials fallback)
Creates credentials to be configured by xDS, falling back to other credentials if no
TLS configuration is provided by xDS.
|
public static ChannelCredentials create(ChannelCredentials fallback)
fallback
- Credentials to fall back to.IllegalArgumentException
- if fallback is unable to be used