Show / Hide Table of Contents

Class FederationRequestSigner

This class contains the implementation of the federation signing logic that retrieves the token from Auth Service used in remote requests.

Inheritance
object
FederationRequestSigner
Implements
IFederationRequestSigner
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.Common.Http.Signing
Assembly: OCI.DotNetSDK.Common.dll
Syntax
public class FederationRequestSigner : IFederationRequestSigner

Constructors

FederationRequestSigner()

Declaration
public FederationRequestSigner()

FederationRequestSigner(ISignatureSigner)

Declaration
public FederationRequestSigner(ISignatureSigner signer)
Parameters
Type Name Description
ISignatureSigner signer

Fields

logger

Declaration
protected static Logger logger
Field Value
Type Description
Logger

Methods

SignRequest(HttpRequestMessage, RsaKeyParameters, string)

This is the main code to sign a request.

Declaration
public void SignRequest(HttpRequestMessage requestMessage, RsaKeyParameters privateKey, string keyId)
Parameters
Type Name Description
HttpRequestMessage requestMessage

An HttpRequestMessage to be signed.

RsaKeyParameters privateKey
string keyId

Implements

IFederationRequestSigner
In this article
Back to top