Share via


ISecurityContextSecurityTokenCache Rozhraní

Definice

Při implementaci toto rozhraní určuje kontrakt pro mezipaměť tokenů kontextu zabezpečení.

public interface class ISecurityContextSecurityTokenCache
public interface ISecurityContextSecurityTokenCache
type ISecurityContextSecurityTokenCache = interface
Public Interface ISecurityContextSecurityTokenCache
Odvozené

Metody

AddContext(SecurityContextSecurityToken)

Přidá token zabezpečení kontextu zabezpečení do mezipaměti tokenů.

ClearContexts()

Vymaže mezipaměť tokenů obsahu.

GetAllContexts(UniqueId)

Získá kolekci ID tokenů zabezpečení kontextu, které odpovídají zadanému ID kontextu.

GetContext(UniqueId, UniqueId)

Získá ID tokenu zabezpečení kontextu, které odpovídá zadanému ID kontextu a generování.

RemoveAllContexts(UniqueId)

Odebere z mezipaměti všechny tokeny, které odpovídají danému ID kontextu.

RemoveContext(UniqueId, UniqueId)

Odebere token z mezipaměti, který odpovídá danému ID kontextu a generování.

TryAddContext(SecurityContextSecurityToken)

Pokusí se přidat token do mezipaměti.

UpdateContextCachingTime(SecurityContextSecurityToken, DateTime)

Aktualizace datum vypršení platnosti tokenu v mezipaměti.

Platí pro