Package com.amazonaws.auth
Interface Presigner
-
- All Known Implementing Classes:
AWS4Signer
public interface Presigner
A request signer that has special-case logic to presign requests, generating a URL which embeds the signature suitable for hyperlinking.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
presignRequest(SignableRequest<?> request, AWSCredentials credentials, Date expiration)
Signs the request by adding the signature to the URL rather than as a header.
-
-
-
Method Detail
-
presignRequest
void presignRequest(SignableRequest<?> request, AWSCredentials credentials, Date expiration)
Signs the request by adding the signature to the URL rather than as a header. This method is expected to modify the passed-in request to add the signature.- Parameters:
request
- The request to sign.credentials
- The credentials to sign it with.expiration
- The time when this presigned URL will expire.
-
-