Package io.grpc.netty
Class NettyChannelCredentials
java.lang.Object
io.grpc.ChannelCredentials
io.grpc.netty.NettyChannelCredentials
A credential with full control over the security handshake.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelCredentials
create
(ProtocolNegotiator.ClientFactory negotiator) Returns the ChannelCredentials stripped of its CallCredentials.
-
Field Details
-
negotiator
-
-
Constructor Details
-
NettyChannelCredentials
-
-
Method Details
-
create
-
getNegotiator
-
withoutBearerTokens
Description copied from class:ChannelCredentials
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).- Specified by:
withoutBearerTokens
in classChannelCredentials
-