Table of Contents

Interface ICacheHelper

Namespace
Arc4u.OAuth2.Token
Assembly
Arc4u.OAuth2.dll

Gives access to the cache used to store the tokens.

public interface ICacheHelper

Methods

GetCache()

Gets the cache used to store the tokens.

ICache GetCache()

Returns

ICache

The token cache.

GetCache(string?)

Gets the cache registered under cacheName.

ICache GetCache(string? cacheName)

Parameters

cacheName string

The name of the cache. When it is empty, the token cache (see GetCache()) is returned.

Returns

ICache

The named cache, or the default cache when no cache is registered under cacheName.