SecurityContextSecurityTokenResolver Class

 

Resolves security context tokens.

Namespace:   System.ServiceModel.Security.Tokens
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.IdentityModel.Selectors.SecurityTokenResolver
    System.ServiceModel.Security.Tokens.SecurityContextSecurityTokenResolver

public class SecurityContextSecurityTokenResolver : SecurityTokenResolver, 
	ISecurityContextSecurityTokenCache

NameDescription
System_CAPS_pubmethodSecurityContextSecurityTokenResolver(Int32, Boolean)

Initializes a new instance of the SecurityContextSecurityTokenResolver class.

System_CAPS_pubmethodSecurityContextSecurityTokenResolver(Int32, Boolean, TimeSpan)

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

NameDescription
System_CAPS_pubpropertyClockSkew

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

System_CAPS_pubpropertyRemoveOldestTokensOnCacheFull

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

System_CAPS_pubpropertySecurityContextTokenCacheCapacity

Gets the security context token cache size.

NameDescription
System_CAPS_pubmethodAddContext(SecurityContextSecurityToken)

Adds a security context security token to the token cache.

System_CAPS_pubmethodClearContexts()

Clears the token cache of content.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetAllContexts(UniqueId)

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

System_CAPS_pubmethodGetContext(UniqueId, UniqueId)

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

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodLoadCustomConfiguration(XmlNodeList)

When overridden in a derived class, loads custom configuration from XML.(Inherited from SecurityTokenResolver.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRemoveAllContexts(UniqueId)

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

System_CAPS_pubmethodRemoveContext(UniqueId, UniqueId)

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

System_CAPS_pubmethodResolveSecurityKey(SecurityKeyIdentifierClause)

Obtains the key that is referenced in the specified key identifier clause.(Inherited from SecurityTokenResolver.)

System_CAPS_pubmethodResolveToken(SecurityKeyIdentifier)

Retrieves a security token that matches one of the security key identifier clauses contained within the specified key identifier.(Inherited from SecurityTokenResolver.)

System_CAPS_pubmethodResolveToken(SecurityKeyIdentifierClause)

Retrieves the security token that matches the specified key identifier clause.(Inherited from SecurityTokenResolver.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTryAddContext(SecurityContextSecurityToken)

Attempts to add a token to the cache.

System_CAPS_pubmethodTryResolveSecurityKey(SecurityKeyIdentifierClause, SecurityKey)

Attempts to retrieve the key that is referenced in the specified key identifier clause.(Inherited from SecurityTokenResolver.)

System_CAPS_protmethodTryResolveSecurityKeyCore(SecurityKeyIdentifierClause, SecurityKey)

Attempts to resolve the security key core, given a specified key identifier clause.(Overrides SecurityTokenResolver.TryResolveSecurityKeyCore(SecurityKeyIdentifierClause, SecurityKey).)

System_CAPS_pubmethodTryResolveToken(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.)

System_CAPS_pubmethodTryResolveToken(SecurityKeyIdentifierClause, SecurityToken)

Attempts to retrieve the security token that matches the specified key identifier clause.(Inherited from SecurityTokenResolver.)

System_CAPS_protmethodTryResolveTokenCore(SecurityKeyIdentifier, SecurityToken)

Attempts to resolve the token, given a specified key identifier.(Overrides SecurityTokenResolver.TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken).)

System_CAPS_protmethodTryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Attempts to resolve the token, given a specified key identifier clause.(Overrides SecurityTokenResolver.TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken).)

System_CAPS_pubmethodUpdateContextCachingTime(SecurityContextSecurityToken, DateTime)

Updates the expiration date for a token in the cache.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: