Uses of Class
io.grpc.ChannelCredentials
Packages that use ChannelCredentials
-
Uses of ChannelCredentials in io.grpc
Subclasses of ChannelCredentials in io.grpcModifier and TypeClassDescriptionfinal classProvides a list ofChannelCredentials, where any one may be used.final classChannelCredentialswhich use per-RPCCallCredentials.final classNo client identity, authentication, or encryption is to be used.final classTLS credentials, providing server authentication and encryption.Methods in io.grpc that return ChannelCredentialsModifier and TypeMethodDescriptionTlsChannelCredentials.Builder.build()Construct the credentials.static ChannelCredentialsChoiceChannelCredentials.create(ChannelCredentials... creds) Constructs with the providedcredsas options, with preferred credentials first.static ChannelCredentialsCompositeChannelCredentials.create(ChannelCredentials channelCreds, CallCredentials callCreds) static ChannelCredentialsInsecureChannelCredentials.create()static ChannelCredentialsTlsChannelCredentials.create()Use TLS with its defaults.CompositeChannelCredentials.getChannelCredentials()LoadBalancer.Helper.getChannelCredentials()Returns the ChannelCredentials used to construct the channel, without bearer tokens.LoadBalancer.Helper.getUnsafeChannelCredentials()Returns the UNSAFE ChannelCredentials used to construct the channel, including bearer tokens.abstract ChannelCredentialsChannelCredentials.withoutBearerTokens()Returns the ChannelCredentials stripped of its CallCredentials.ChoiceChannelCredentials.withoutBearerTokens()CompositeChannelCredentials.withoutBearerTokens()InsecureChannelCredentials.withoutBearerTokens()TlsChannelCredentials.withoutBearerTokens()Methods in io.grpc that return types with arguments of type ChannelCredentialsModifier and TypeMethodDescriptionChoiceChannelCredentials.getCredentialsList()Non-empty list of credentials, in preference order.Methods in io.grpc with parameters of type ChannelCredentialsModifier and TypeMethodDescriptionstatic ChannelCredentialsChoiceChannelCredentials.create(ChannelCredentials... creds) Constructs with the providedcredsas options, with preferred credentials first.static ChannelCredentialsCompositeChannelCredentials.create(ChannelCredentials channelCreds, CallCredentials callCreds) 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.InternalManagedChannelProvider.newChannelBuilder(ManagedChannelProvider provider, String target, ChannelCredentials creds) 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.