Export (0) Print
Expand All

AggregateTokenResolver Class

.NET Framework 4.5

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

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

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

public ref class AggregateTokenResolver : public SecurityTokenResolver

The AggregateTokenResolver type exposes the following members.

  NameDescription
Public methodAggregateTokenResolverInitializes a new instance of the AggregateTokenResolver class by using the specified list of token resolvers.
Top

  NameDescription
Public propertyTokenResolversGets the security token resolvers that are wrapped by this instance.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodLoadCustomConfigurationWhen overridden in a derived class, loads custom configuration from XML. (Inherited from SecurityTokenResolver.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodResolveSecurityKeyObtains the key that is referenced in the specified key identifier clause. (Inherited from SecurityTokenResolver.)
Public methodResolveToken(SecurityKeyIdentifier)Retrieves a security token that matches one of the security key identifier clauses contained within the specified key identifier. (Inherited from SecurityTokenResolver.)
Public methodResolveToken(SecurityKeyIdentifierClause)Retrieves the security token that matches the specified key identifier clause. (Inherited from SecurityTokenResolver.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTryResolveSecurityKeyAttempts to retrieve the key that is referenced in the specified key identifier clause. (Inherited from SecurityTokenResolver.)
Protected methodTryResolveSecurityKeyCoreAttempts to retrieve the key that is referenced in the specified key identifier clause. (Overrides SecurityTokenResolver::TryResolveSecurityKeyCore(SecurityKeyIdentifierClause, SecurityKey%).)
Public methodTryResolveToken(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.)
Public methodTryResolveToken(SecurityKeyIdentifierClause, SecurityToken%)Attempts to retrieve the security token that matches the specified key identifier clause. (Inherited from SecurityTokenResolver.)
Protected methodTryResolveTokenCore(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%).)
Protected methodTryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken%)Attempts to resolve the security token that matches the specified key identifier clause. (Overrides SecurityTokenResolver::TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken%).)
Top

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

Supported in: 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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