Class DefaultOssClientFactory
Inheritance
object
DefaultOssClientFactory
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.Aliyun
Assembly: Volo.Abp.BlobStoring.Aliyun.dll
Syntax
public class DefaultOssClientFactory : IOssClientFactory, ITransientDependency
Constructors
DefaultOssClientFactory(IDistributedCache<AliyunTemporaryCredentialsCacheItem>, IStringEncryptionService)
Declaration
public DefaultOssClientFactory(IDistributedCache<AliyunTemporaryCredentialsCacheItem> cache, IStringEncryptionService stringEncryptionService)
Parameters
| Type | Name | Description |
|---|---|---|
| IDistributedCache<AliyunTemporaryCredentialsCacheItem> | cache | |
| IStringEncryptionService | stringEncryptionService |
Properties
Cache
Declaration
protected IDistributedCache<AliyunTemporaryCredentialsCacheItem> Cache { get; }
Property Value
| Type | Description |
|---|---|
| IDistributedCache<AliyunTemporaryCredentialsCacheItem> |
StringEncryptionService
Declaration
protected IStringEncryptionService StringEncryptionService { get; }
Property Value
| Type | Description |
|---|---|
| IStringEncryptionService |
Methods
Create(AliyunBlobProviderConfiguration)
Declaration
public virtual IOss Create(AliyunBlobProviderConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| AliyunBlobProviderConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| Aliyun.OSS.IOss |
GetSecurityTokenClient(AliyunBlobProviderConfiguration)
Declaration
protected virtual IOss GetSecurityTokenClient(AliyunBlobProviderConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| AliyunBlobProviderConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| Aliyun.OSS.IOss |