Package | Description |
---|---|
io.grpc |
The gRPC core public API.
|
io.grpc.auth |
Implementations of
CallCredentials and authentication related API. |
io.grpc.stub |
API for the Stub layer.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeCallCredentials
Uses multiple
CallCredentials as if they were one. |
Modifier and Type | Method and Description |
---|---|
CallCredentials |
CompositeChannelCredentials.getCallCredentials() |
CallCredentials |
CallOptions.getCredentials()
Returns the call credentials.
|
Modifier and Type | Method and Description |
---|---|
static ChannelCredentials |
CompositeChannelCredentials.create(ChannelCredentials channelCreds,
CallCredentials callCreds) |
CallOptions |
CallOptions.withCallCredentials(CallCredentials credentials)
Returns a new
CallOptions with the given call credentials. |
Constructor and Description |
---|
CompositeCallCredentials(CallCredentials creds1,
CallCredentials creds2) |
Modifier and Type | Method and Description |
---|---|
static CallCredentials |
MoreCallCredentials.from(com.google.auth.Credentials creds)
Converts a Google Auth Library
Credentials to CallCredentials . |
Modifier and Type | Method and Description |
---|---|
S |
AbstractStub.withCallCredentials(CallCredentials credentials)
Returns a new stub that uses the given call credentials.
|