Uses of Class
io.grpc.ChannelCredentials
-
-
Uses of ChannelCredentials in io.grpc
Subclasses of ChannelCredentials in io.grpc Modifier and Type Class Description class
ChoiceChannelCredentials
Provides a list ofChannelCredentials
, where any one may be used.class
CompositeChannelCredentials
ChannelCredentials
which use per-RPCCallCredentials
.class
InsecureChannelCredentials
No client identity, authentication, or encryption is to be used.class
TlsChannelCredentials
TLS credentials, providing server authentication and encryption.Methods in io.grpc that return ChannelCredentials Modifier and Type Method Description ChannelCredentials
TlsChannelCredentials.Builder. build()
Construct the credentials.static ChannelCredentials
ChoiceChannelCredentials. create(ChannelCredentials... creds)
Constructs with the providedcreds
as options, with preferred credentials first.static ChannelCredentials
CompositeChannelCredentials. create(ChannelCredentials channelCreds, CallCredentials callCreds)
static ChannelCredentials
InsecureChannelCredentials. create()
static ChannelCredentials
TlsChannelCredentials. create()
Use TLS with its defaults.ChannelCredentials
CompositeChannelCredentials. getChannelCredentials()
ChannelCredentials
LoadBalancer.Helper. getChannelCredentials()
Returns the ChannelCredentials used to construct the channel, without bearer tokens.ChannelCredentials
LoadBalancer.Helper. getUnsafeChannelCredentials()
Returns the UNSAFE ChannelCredentials used to construct the channel, including bearer tokens.abstract ChannelCredentials
ChannelCredentials. withoutBearerTokens()
Returns the ChannelCredentials stripped of its CallCredentials.ChannelCredentials
ChoiceChannelCredentials. withoutBearerTokens()
ChannelCredentials
CompositeChannelCredentials. withoutBearerTokens()
ChannelCredentials
InsecureChannelCredentials. withoutBearerTokens()
ChannelCredentials
TlsChannelCredentials. withoutBearerTokens()
Methods in io.grpc that return types with arguments of type ChannelCredentials Modifier and Type Method Description List<ChannelCredentials>
ChoiceChannelCredentials. getCredentialsList()
Non-empty list of credentials, in preference order.Methods in io.grpc with parameters of type ChannelCredentials Modifier and Type Method Description static ChannelCredentials
ChoiceChannelCredentials. create(ChannelCredentials... creds)
Constructs with the providedcreds
as options, with preferred credentials first.static ChannelCredentials
CompositeChannelCredentials. create(ChannelCredentials channelCreds, CallCredentials callCreds)
ManagedChannelBuilder<?>
LoadBalancer.Helper. createResolvingOobChannelBuilder(String target, ChannelCredentials creds)
Creates an out-of-band channel builder for LoadBalancer's own RPC needs, e.g., talking to an external load-balancer service, that is specified by a target string and credentials.static ManagedChannelBuilder<?>
Grpc. newChannelBuilder(String target, ChannelCredentials creds)
Creates a channel builder with a target string and credentials.protected ManagedChannelProvider.NewChannelBuilderResult
ManagedChannelProvider. newChannelBuilder(String target, ChannelCredentials creds)
Creates a new builder with the given target URI and credentials.static ManagedChannelBuilder<?>
Grpc. newChannelBuilderForAddress(String host, int port, ChannelCredentials creds)
Creates a channel builder from a host, port, and credentials.
-