Class AbstractRequestingAuthenticationDetailsProvider
Base class for authentication details providers that make remote requests.
Inheritance
AbstractRequestingAuthenticationDetailsProvider
      
      
      
  Implements
Inherited Members
Namespace: Oci.Common.Auth
Assembly: OCI.DotNetSDK.Common.dll
Syntax
public abstract class AbstractRequestingAuthenticationDetailsProvider : IBasicAuthenticationDetailsProvider, IAbstractAuthenticationDetailsProvider, IRegionProvider, IRefreshableOnNotAuthenticatedProvider<string>Constructors
AbstractRequestingAuthenticationDetailsProvider()
Declaration
public AbstractRequestingAuthenticationDetailsProvider()AbstractRequestingAuthenticationDetailsProvider(IFederationClient, ISessionKeySupplier)
Declaration
public AbstractRequestingAuthenticationDetailsProvider(IFederationClient federationClient, ISessionKeySupplier sessionKeySupplier)Parameters
| Type | Name | Description | 
|---|---|---|
| IFederationClient | federationClient | |
| ISessionKeySupplier | sessionKeySupplier | 
Fields
federationClient
Declaration
protected IFederationClient federationClientField Value
| Type | Description | 
|---|---|
| IFederationClient | 
sessionKeySupplier
Declaration
protected ISessionKeySupplier sessionKeySupplierField Value
| Type | Description | 
|---|---|
| ISessionKeySupplier | 
Properties
KeyId
The KeyId used in the authorization header for the API call to OCI services.
Declaration
public string KeyId { get; }Property Value
| Type | Description | 
|---|---|
| string | Returns the KeyId. | 
PassPhraseCharacters
Declaration
public char[] PassPhraseCharacters { get; }Property Value
| Type | Description | 
|---|---|
| char[] | 
Region
Declaration
public Region Region { get; set; }Property Value
| Type | Description | 
|---|---|
| Region | 
Methods
AutoDetectCertificatesUsingMetadataUrl()
Declaration
protected void AutoDetectCertificatesUsingMetadataUrl()AutoDetectEndpointUsingMetadataUrl()
Declaration
protected void AutoDetectEndpointUsingMetadataUrl()AutoDetectUsingMetadataUrl()
Declaration
protected void AutoDetectUsingMetadataUrl()GetPrivateKey()
The API requests made by the instance are signed by the private key.
Declaration
public RsaKeyParameters GetPrivateKey()Returns
| Type | Description | 
|---|---|
| RsaKeyParameters | Returns the private key. | 
Refresh()
Refreshes the authentication data used by the provider.
Declaration
public string Refresh()Returns
| Type | Description | 
|---|---|
| string | The refreshed authentication data. |