public class DefaultRequestSigner extends Object
Class that exposes a way to create a RequestSigner
for use with OCI. The returned signers
implement signing strategies outlined by the signing
guidelines.
This is only exposed so clients can write REST calls directly against OCI without using the SDK provided clients, but this class may change without notice -- users are encouraged to use the SDK provided clients.
Modifier and Type | Method and Description |
---|---|
static RequestSigner |
createRequestSigner(BasicAuthenticationDetailsProvider authProvider)
Creates a new RequestSigner using the
SigningStrategy.STANDARD . |
static RequestSigner |
createRequestSigner(BasicAuthenticationDetailsProvider authProvider,
SigningStrategy signingStrategy)
Creates a new RequestSigner using the given signing strategy.
|
public static RequestSigner createRequestSigner(BasicAuthenticationDetailsProvider authProvider)
Creates a new RequestSigner using the SigningStrategy.STANDARD
.
authProvider
- The auth details provider to use.public static RequestSigner createRequestSigner(BasicAuthenticationDetailsProvider authProvider, SigningStrategy signingStrategy)
Creates a new RequestSigner using the given signing strategy.
authProvider
- The auth details provider to use.signingStrategy
- The strategy to use.Copyright © 2016–2024. All rights reserved.