Package io.grpc
Class InsecureChannelCredentials
- java.lang.Object
-
- io.grpc.ChannelCredentials
-
- io.grpc.InsecureChannelCredentials
-
public final class InsecureChannelCredentials extends ChannelCredentials
No client identity, authentication, or encryption is to be used.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChannelCredentialscreate()ChannelCredentialswithoutBearerTokens()Returns the ChannelCredentials stripped of its CallCredentials.
-
-
-
Method Detail
-
create
public static ChannelCredentials create()
-
withoutBearerTokens
public ChannelCredentials withoutBearerTokens()
Description copied from class:ChannelCredentialsReturns 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:
withoutBearerTokensin classChannelCredentials
-
-