Class AbstractRequestingAuthenticationDetailsProvider
Base class for authentication details providers that make remote requests.
Inheritance
AbstractRequestingAuthenticationDetailsProvider
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
AbstractRequestingAuthenticationDetailsProvider(string)
Declaration
protected AbstractRequestingAuthenticationDetailsProvider(string federationEndpoint)
Parameters
| Type |
Name |
Description |
| string |
federationEndpoint |
|
Fields
federationClient
Declaration
protected IFederationClient federationClient
Field Value
sessionKeySupplier
Declaration
protected ISessionKeySupplier sessionKeySupplier
Field Value
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
Region
Declaration
public Region Region { get; set; }
Property Value
Methods
Declaration
protected void AutoDetectCertificatesUsingMetadataUrl()
Declaration
protected void AutoDetectEndpointUsingMetadataUrl()
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
Returns
| Type |
Description |
| string |
The refreshed authentication data.
|
Implements