public interface RequestSigner
Main entry point for signing a request
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
signRequest(URI uri,
String httpMethod,
Map<String,List<String>> headers,
Object body)
Sign a request.
|
@Nonnull Map<String,String> signRequest(@Nonnull URI uri, @Nonnull String httpMethod, @Nonnull Map<String,List<String>> headers, @Nullable Object body)
Sign a request.
uri
- the request urihttpMethod
- the request methodheaders
- the request headersbody
- the request body (if this is a PUT or POST method)Authorization
header, and any headers
that were signed when generating the signature. You MUST include the exact values of the
returned headers when making requests.Copyright © 2016–2024. All rights reserved.