SecurityContextSecurityTokenResolver Class

Definition

Resolves security context tokens.

public ref class SecurityContextSecurityTokenResolver : System::IdentityModel::Selectors::SecurityTokenResolver, System::ServiceModel::Security::Tokens::ISecurityContextSecurityTokenCache
public class SecurityContextSecurityTokenResolver : System.IdentityModel.Selectors.SecurityTokenResolver, System.ServiceModel.Security.Tokens.ISecurityContextSecurityTokenCache
type SecurityContextSecurityTokenResolver = class
    inherit SecurityTokenResolver
    interface ISecurityContextSecurityTokenCache
Public Class SecurityContextSecurityTokenResolver
Inherits SecurityTokenResolver
Implements ISecurityContextSecurityTokenCache
Inheritance
SecurityContextSecurityTokenResolver
Implements

Constructors

SecurityContextSecurityTokenResolver(Int32, Boolean, TimeSpan)

Initializes a new instance of the SecurityContextSecurityTokenResolver class with the specified security context cache capacity and clock skew maximum.

SecurityContextSecurityTokenResolver(Int32, Boolean)

Initializes a new instance of the SecurityContextSecurityTokenResolver class.

Properties

ClockSkew

Returns the maximum allowable time difference between client and server clock settings.

RemoveOldestTokensOnCacheFull

Gets a value that indicates whether the oldest tokens should be removed when the cache is full.

SecurityContextTokenCacheCapacity

Gets the security context token cache size.

Methods

AddContext(SecurityContextSecurityToken)

Adds a security context security token to the token cache.

ClearContexts()

Clears the token cache of content.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetAllContexts(UniqueId)

Gets a collection of security context security token IDs that match a specified context ID.

GetContext(UniqueId, UniqueId)

Gets the security context security token ID that matches a specified context ID and generation.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
LoadCustomConfiguration(XmlNodeList)

When overridden in a derived class, loads custom configuration from XML.

(Inherited from SecurityTokenResolver)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RemoveAllContexts(UniqueId)

Removes all tokens from the cache that match a given context ID.

RemoveContext(UniqueId, UniqueId)

Removes the token from the cache that matches a given context ID and generation.

ResolveSecurityKey(SecurityKeyIdentifierClause)

Obtains the key that is referenced in the specified key identifier clause.

(Inherited from SecurityTokenResolver)
ResolveToken(SecurityKeyIdentifier)

Retrieves a security token that matches one of the security key identifier clauses contained within the specified key identifier.

(Inherited from SecurityTokenResolver)
ResolveToken(SecurityKeyIdentifierClause)

Retrieves the security token that matches the specified key identifier clause.

(Inherited from SecurityTokenResolver)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryAddContext(SecurityContextSecurityToken)

Attempts to add a token to the cache.

TryResolveSecurityKey(SecurityKeyIdentifierClause, SecurityKey)

Attempts to retrieve the key that is referenced in the specified key identifier clause.

(Inherited from SecurityTokenResolver)
TryResolveSecurityKeyCore(SecurityKeyIdentifierClause, SecurityKey)

Attempts to resolve the security key core, given a specified key identifier clause.

TryResolveToken(SecurityKeyIdentifier, SecurityToken)

Attempts to retrieve the security token that matches one of the key identifier clauses contained within the specified key identifier.

(Inherited from SecurityTokenResolver)
TryResolveToken(SecurityKeyIdentifierClause, SecurityToken)

Attempts to retrieve the security token that matches the specified key identifier clause.

(Inherited from SecurityTokenResolver)
TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Attempts to resolve the token, given a specified key identifier.

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Attempts to resolve the token, given a specified key identifier clause.

UpdateContextCachingTime(SecurityContextSecurityToken, DateTime)

Updates the expiration date for a token in the cache.

Applies to