Class DefaultAmazonS3ClientFactory
Inheritance
object
DefaultAmazonS3ClientFactory
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.BlobStoring.Aws.dll
Syntax
public class DefaultAmazonS3ClientFactory : IAmazonS3ClientFactory, ITransientDependency
Constructors
DefaultAmazonS3ClientFactory(IDistributedCache<AwsTemporaryCredentialsCacheItem>, IStringEncryptionService)
Declaration
public DefaultAmazonS3ClientFactory(IDistributedCache<AwsTemporaryCredentialsCacheItem> cache, IStringEncryptionService stringEncryptionService)
Parameters
Properties
Cache
Declaration
protected IDistributedCache<AwsTemporaryCredentialsCacheItem> Cache { get; }
Property Value
StringEncryptionService
Declaration
protected IStringEncryptionService StringEncryptionService { get; }
Property Value
Methods
GetAmazonS3Client(AwsBlobProviderConfiguration)
Declaration
public virtual Task<AmazonS3Client> GetAmazonS3Client(AwsBlobProviderConfiguration configuration)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><Amazon.S3.AmazonS3Client> |
|
GetAwsCredentials(AwsBlobProviderConfiguration)
Declaration
protected virtual AWSCredentials GetAwsCredentials(AwsBlobProviderConfiguration configuration)
Parameters
Returns
| Type |
Description |
| Amazon.Runtime.AWSCredentials |
|
GetTemporaryCredentialsAsync(AwsBlobProviderConfiguration)
Declaration
protected virtual Task<SessionAWSCredentials> GetTemporaryCredentialsAsync(AwsBlobProviderConfiguration configuration)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><SessionAWSCredentials> |
|
GetTemporaryFederatedCredentialsAsync(AwsBlobProviderConfiguration)
Declaration
protected virtual Task<SessionAWSCredentials> GetTemporaryFederatedCredentialsAsync(AwsBlobProviderConfiguration configuration)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><SessionAWSCredentials> |
|
Implements
Extension Methods