AggregateTokenResolver Class

.NET Framework (current version)
 

Represents a security token resolver that can wrap multiple token resolvers and resolve tokens across all of the wrapped resolvers.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

System.Object
  System.IdentityModel.Selectors.SecurityTokenResolver
    System.IdentityModel.Tokens.AggregateTokenResolver

public class AggregateTokenResolver : SecurityTokenResolver

NameDescription
System_CAPS_pubmethodAggregateTokenResolver(IEnumerable<SecurityTokenResolver>)

Initializes a new instance of the AggregateTokenResolver class by using the specified list of token resolvers.

NameDescription
System_CAPS_pubpropertyTokenResolvers

Gets the security token resolvers that are wrapped by this instance.

NameDescription
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_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_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_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 retrieve the key that is referenced in the 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 retrieve the security token that matches at least one of the key identifier clauses contained within the specified key identifier.(Overrides SecurityTokenResolver.TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken).)

System_CAPS_protmethodTryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

Attempts to resolve the security token that matches the specified key identifier clause.(Overrides SecurityTokenResolver.TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken).)

A SecurityTokenResolver object represents a utility class that can retrieve security tokens or keys when you have a key identifier or key identifier clause. The AggregateTokenResolver wraps several SecurityTokenResolver objects. The token resolvers to be wrapped are specified in the constructor. The TokenResolvers property returns the collection of token resolvers that are wrapped by the aggregate resolver.

.NET Framework
Available since 4.5

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: