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 |
CallCredentials2
Deprecated.
the new interface has been promoted into
CallCredentials . Implementations
should switch back to "extends CallCredentials ". |
Modifier and Type | Method and Description |
---|---|
CallCredentials |
CallOptions.getCredentials()
Returns the call credentials.
|
Modifier and Type | Method and Description |
---|---|
CallOptions |
CallOptions.withCallCredentials(CallCredentials credentials)
Returns a new
CallOptions with the given call credentials. |
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.
|