| Package | Description |
|---|---|
| com.baidubce | |
| com.baidubce.auth | |
| com.baidubce.common | |
| com.baidubce.internal | |
| com.baidubce.model |
| Modifier and Type | Method and Description |
|---|---|
BceCredentials |
BceClientConfiguration.getCredentials()
Returns the BCE credentials used by the client to sign HTTP requests.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BceClientConfiguration.setCredentials(BceCredentials credentials)
Sets the BCE credentials used by the client to sign HTTP requests.
|
BceClientConfiguration |
BceClientConfiguration.withCredentials(BceCredentials credentials)
Sets the BCE credentials used by the client to sign HTTP requests, and returns the updated configuration
instance.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BceSessionCredentials
Provides access to the BCE credentials used for accessing BCE services: BCE access key ID, secret access key and
session token.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultBceCredentials
Default implementation of the Credentials interface that allows callers to pass in the BCE access key and secret
access in the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Signer.sign(InternalRequest request,
BceCredentials credentials)
Equivalent to sign(request, credentials, SignOptions.DEFAULT).
|
void |
BceV1Signer.sign(InternalRequest request,
BceCredentials credentials) |
void |
Signer.sign(InternalRequest request,
BceCredentials credentials,
SignOptions options)
Sign the given request with the given set of credentials.
|
void |
BceV1Signer.sign(InternalRequest request,
BceCredentials credentials,
SignOptions options)
Sign the given request with the given set of credentials.
|
| Modifier and Type | Method and Description |
|---|---|
BaseBceRequest |
BaseBceRequest.withRequestCredentials(BceCredentials credentials) |
| Modifier and Type | Method and Description |
|---|---|
BceCredentials |
InternalRequest.getCredentials() |
| Modifier and Type | Method and Description |
|---|---|
void |
InternalRequest.setCredentials(BceCredentials credentials) |
| Modifier and Type | Method and Description |
|---|---|
BceCredentials |
AbstractBceRequest.getRequestCredentials()
Returns the optional credentials to use to sign this request, overriding the default credentials set at the
client level.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractBceRequest.setRequestCredentials(BceCredentials credentials)
Sets the optional credentials to use for this request, overriding the default credentials set at the client
level.
|
GenericAccountRequest |
GenericAccountRequest.withRequestCredentials(BceCredentials credentials) |
abstract AbstractBceRequest |
AbstractBceRequest.withRequestCredentials(BceCredentials credentials) |
Copyright © 2026. All rights reserved.