public class AppSigner extends Object implements com.baidubce.auth.Signer
The only difference between AppSigner and BceV1SignerBceV1Signer is the auth header.
Created on 2020-05-19
| Constructor and Description |
|---|
AppSigner() |
| Modifier and Type | Method and Description |
|---|---|
void |
sign(com.baidubce.internal.InternalRequest request,
com.baidubce.auth.BceCredentials credentials) |
void |
sign(com.baidubce.internal.InternalRequest request,
com.baidubce.auth.BceCredentials credentials,
com.baidubce.auth.SignOptions options)
Sign the given request with the given set of credentials.
|
public void sign(com.baidubce.internal.InternalRequest request,
com.baidubce.auth.BceCredentials credentials)
sign in interface com.baidubce.auth.SignerSigner.sign(InternalRequest, BceCredentials)public void sign(com.baidubce.internal.InternalRequest request,
com.baidubce.auth.BceCredentials credentials,
com.baidubce.auth.SignOptions options)
sign in interface com.baidubce.auth.Signerrequest - the request to sign.credentials - the credentials to sign the request with.options - the options for signing.Copyright © 2022. All rights reserved.