Top Description Constructors Methods
com.oracle.bmc.http.signing

public Class DefaultRequestSigner

extends Object
Class Inheritance
Annotations
@InternalSdk
Imports
com.oracle.bmc.InternalSdk, com.oracle.bmc.auth.BasicAuthenticationDetailsProvider, com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory

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.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static RequestSigner

Returns:

A new signer instance.
createRequestSigner
(BasicAuthenticationDetailsProvider
The auth details provider to use.
authProvider
)

Creates a new RequestSigner using the SigningStrategy#STANDARD.

public static RequestSigner

Returns:

A new signer instance.
createRequestSigner
(BasicAuthenticationDetailsProvider
The auth details provider to use.
authProvider
,
SigningStrategy
The strategy to use.
signingStrategy
)

Creates a new RequestSigner using the given signing strategy.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DefaultRequestSignerback to summary
private DefaultRequestSigner()

Method Detail

createRequestSignerback to summary
public static RequestSigner createRequestSigner(BasicAuthenticationDetailsProvider authProvider)

Creates a new RequestSigner using the SigningStrategy#STANDARD.

Parameters
authProvider:BasicAuthenticationDetailsProvider

The auth details provider to use.

Returns:RequestSigner

A new signer instance.

createRequestSignerback to summary
public static RequestSigner createRequestSigner(BasicAuthenticationDetailsProvider authProvider, SigningStrategy signingStrategy)

Creates a new RequestSigner using the given signing strategy.

Parameters
authProvider:BasicAuthenticationDetailsProvider

The auth details provider to use.

signingStrategy:SigningStrategy

The strategy to use.

Returns:RequestSigner

A new signer instance.