Show / Hide Table of Contents

Class DefaultAmazonS3ClientFactory

Inheritance
object
DefaultAmazonS3ClientFactory
Implements
IAmazonS3ClientFactory
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.BlobStoring.Aws
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
Type Name Description
IDistributedCache<AwsTemporaryCredentialsCacheItem> cache
IStringEncryptionService stringEncryptionService

Properties

Cache

Declaration
protected IDistributedCache<AwsTemporaryCredentialsCacheItem> Cache { get; }
Property Value
Type Description
IDistributedCache<AwsTemporaryCredentialsCacheItem>

StringEncryptionService

Declaration
protected IStringEncryptionService StringEncryptionService { get; }
Property Value
Type Description
IStringEncryptionService

Methods

GetAmazonS3Client(AwsBlobProviderConfiguration)

Declaration
public virtual Task<AmazonS3Client> GetAmazonS3Client(AwsBlobProviderConfiguration configuration)
Parameters
Type Name Description
AwsBlobProviderConfiguration configuration
Returns
Type Description
Task<AmazonS3Client>

GetAwsCredentials(AwsBlobProviderConfiguration)

Declaration
protected virtual AWSCredentials? GetAwsCredentials(AwsBlobProviderConfiguration configuration)
Parameters
Type Name Description
AwsBlobProviderConfiguration configuration
Returns
Type Description
AWSCredentials

GetTemporaryCredentialsAsync(AwsBlobProviderConfiguration)

Declaration
protected virtual Task<SessionAWSCredentials> GetTemporaryCredentialsAsync(AwsBlobProviderConfiguration configuration)
Parameters
Type Name Description
AwsBlobProviderConfiguration configuration
Returns
Type Description
Task<SessionAWSCredentials>

GetTemporaryFederatedCredentialsAsync(AwsBlobProviderConfiguration)

Declaration
protected virtual Task<SessionAWSCredentials> GetTemporaryFederatedCredentialsAsync(AwsBlobProviderConfiguration configuration)
Parameters
Type Name Description
AwsBlobProviderConfiguration configuration
Returns
Type Description
Task<SessionAWSCredentials>

Implements

IAmazonS3ClientFactory
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform