Interface ICacheKeyGenerator
Generates the key under which the data of an identity is stored in the cache.
public interface ICacheKeyGenerator
Methods
GetClaimsKey(ClaimsIdentity)
Gets the cache key used to store the claims of the identity.
string GetClaimsKey(ClaimsIdentity identity)
Parameters
identityClaimsIdentityThe identity for which the key is generated.
Returns
- string
The cache key.