Table of Contents

Interface ICacheKeyGenerator

Namespace
Arc4u.OAuth2
Assembly
Arc4u.OAuth2.dll

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

identity ClaimsIdentity

The identity for which the key is generated.

Returns

string

The cache key.