Table of Contents

Class FixKeyGenerator

Namespace
Arc4u.OAuth2.Security.Principal
Assembly
Arc4u.OAuth2.dll

This class is used with UI application which is user based already (by design). So the key to used can be simple as a fix string.

[Export(typeof(ICacheKeyGenerator))]
[Shared]
public class FixKeyGenerator : ICacheKeyGenerator
Inheritance
FixKeyGenerator
Implements
Inherited Members

Methods

GetClaimsKey(ClaimsIdentity)

Gets the fixed cache key ClaimsVaultRef, whatever the identity.

public string GetClaimsKey(ClaimsIdentity identity)

Parameters

identity ClaimsIdentity

The identity, which is ignored.

Returns

string

The constant key ClaimsVaultRef.