@FunctionalInterface public interface Signer
Modifier and Type | Method and Description |
---|---|
default CredentialType |
credentialType()
Method that retrieves
CredentialType i.e. |
SdkHttpFullRequest |
sign(SdkHttpFullRequest request,
ExecutionAttributes executionAttributes)
Method that takes in an request and returns a signed version of the request.
|
SdkHttpFullRequest sign(SdkHttpFullRequest request, ExecutionAttributes executionAttributes)
request
- The request to signexecutionAttributes
- Contains the attributes required for signing the requestdefault CredentialType credentialType()
CredentialType
i.e. the type of Credentials used by the Signer while authorizing a request.CredentialType
as defined by the signer implementation.Copyright © 2023. All rights reserved.