Package io.grpc.xds
Class XdsChannelCredentials
java.lang.Object
io.grpc.xds.XdsChannelCredentials
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/7514")
public class XdsChannelCredentials
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.grpc.ChannelCredentials
create
(io.grpc.ChannelCredentials fallback) Creates credentials to be configured by xDS, falling back to other credentials if no TLS configuration is provided by xDS.
-
Constructor Details
-
XdsChannelCredentials
private XdsChannelCredentials()
-
-
Method Details
-
create
public static io.grpc.ChannelCredentials create(io.grpc.ChannelCredentials fallback) Creates credentials to be configured by xDS, falling back to other credentials if no TLS configuration is provided by xDS.- Parameters:
fallback
- Credentials to fall back to.- Throws:
IllegalArgumentException
- if fallback is unable to be used
-