Bewerken

Delen via


DistributedCachePlugin class

Constructors

DistributedCachePlugin(ICacheClient, IPartitionManager)

Methods

afterCacheAccess(TokenCacheContext)
beforeCacheAccess(TokenCacheContext)

Constructor Details

DistributedCachePlugin(ICacheClient, IPartitionManager)

new DistributedCachePlugin(client: ICacheClient, partitionManager: IPartitionManager)

Parameters

client
ICacheClient
partitionManager
IPartitionManager

Method Details

afterCacheAccess(TokenCacheContext)

function afterCacheAccess(cacheContext: TokenCacheContext): Promise<void>

Parameters

cacheContext

TokenCacheContext

Returns

Promise<void>

beforeCacheAccess(TokenCacheContext)

function beforeCacheAccess(cacheContext: TokenCacheContext): Promise<void>

Parameters

cacheContext

TokenCacheContext

Returns

Promise<void>