public interface V4RequestSigner
| Modifier and Type | Method and Description |
|---|---|
static V4RequestSigner |
anonymous(V4Properties properties)
Retrieve an implementation of a V4RequestSigner to handle the anonymous credentials case, where the request is not
sigend at all.
|
static V4RequestSigner |
create(V4Properties properties,
String contentHash)
Retrieve an implementation of a V4RequestSigner, which signs the request, but does not add authentication to the request.
|
static V4RequestSigner |
header(V4Properties properties)
Retrieve an implementation of a V4RequestSigner, which signs the request and adds authentication through headers.
|
static V4RequestSigner |
presigned(V4Properties properties,
Duration expirationDuration)
Retrieve an implementation of a V4RequestSigner, which signs the request and adds authentication through query parameters,
which includes an expiration param, signalling how long a request signature is valid.
|
static V4RequestSigner |
query(V4Properties properties)
Retrieve an implementation of a V4RequestSigner, which signs the request and adds authentication through query parameters.
|
V4RequestSigningResult |
sign(SdkHttpRequest.Builder requestBuilder)
Given a request builder, sign the request and return a result containing the signed request and its properties.
|
static V4RequestSigner create(V4Properties properties, String contentHash)
static V4RequestSigner header(V4Properties properties)
static V4RequestSigner query(V4Properties properties)
static V4RequestSigner presigned(V4Properties properties, Duration expirationDuration)
static V4RequestSigner anonymous(V4Properties properties)
V4RequestSigningResult sign(SdkHttpRequest.Builder requestBuilder)
Copyright © 2023. All rights reserved.