Class RemoteDynamicClaimsPrincipalContributorCache
Inheritance
RemoteDynamicClaimsPrincipalContributorCache
Assembly: Volo.Abp.AspNetCore.Mvc.Client.Common.dll
Syntax
public class RemoteDynamicClaimsPrincipalContributorCache : RemoteDynamicClaimsPrincipalContributorCacheBase<RemoteDynamicClaimsPrincipalContributorCache>
Constructors
RemoteDynamicClaimsPrincipalContributorCache(IDistributedCache<AbpDynamicClaimCacheItem>, IHttpClientFactory, IOptions<AbpClaimsPrincipalFactoryOptions>, IRemoteServiceHttpClientAuthenticator)
Declaration
public RemoteDynamicClaimsPrincipalContributorCache(IDistributedCache<AbpDynamicClaimCacheItem> cache, IHttpClientFactory httpClientFactory, IOptions<AbpClaimsPrincipalFactoryOptions> abpClaimsPrincipalFactoryOptions, IRemoteServiceHttpClientAuthenticator httpClientAuthenticator)
Parameters
Fields
HttpClientName
Declaration
public const string HttpClientName = "RemoteDynamicClaimsPrincipalContributorCache"
Field Value
Properties
Cache
Declaration
protected IDistributedCache<AbpDynamicClaimCacheItem> Cache { get; }
Property Value
HttpClientAuthenticator
Declaration
protected IRemoteServiceHttpClientAuthenticator HttpClientAuthenticator { get; }
Property Value
HttpClientFactory
Declaration
protected IHttpClientFactory HttpClientFactory { get; }
Property Value
Methods
GetCacheAsync(Guid, Guid?)
Declaration
protected override Task<AbpDynamicClaimCacheItem?> GetCacheAsync(Guid userId, Guid? tenantId = null)
Parameters
Type |
Name |
Description |
Guid |
userId |
|
Guid? |
tenantId |
|
Returns
Overrides
RefreshAsync(Guid, Guid?)
Declaration
protected override Task RefreshAsync(Guid userId, Guid? tenantId = null)
Parameters
Type |
Name |
Description |
Guid |
userId |
|
Guid? |
tenantId |
|
Returns
Overrides
Extension Methods