Package com.oracle.bmc.http.signing
Interface RequestSigner
-
- All Known Implementing Classes:
RequestSignerImpl
public interface RequestSignerMain entry point for signing a request
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>signRequest(URI uri, String httpMethod, Map<String,List<String>> headers, Object body)Sign a request.
-
-
-
Method Detail
-
signRequest
@Nonnull Map<String,String> signRequest(@Nonnull URI uri, @Nonnull String httpMethod, @Nonnull Map<String,List<String>> headers, @Nullable Object body)
Sign a request.- Parameters:
uri- the request urihttpMethod- the request methodheaders- the request headersbody- the request body (if this is a PUT or POST method)- Returns:
- a map that contains the signature
Authorizationheader, and any headers that were signed when generating the signature. You MUST include the exact values of the returned headers when making requests.
-
-