แก้ไข

แชร์ผ่าน


AggregateTokenResolver Class

Definition

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

public ref class AggregateTokenResolver : System::IdentityModel::Selectors::SecurityTokenResolver
public class AggregateTokenResolver : System.IdentityModel.Selectors.SecurityTokenResolver
type AggregateTokenResolver = class
    inherit SecurityTokenResolver
Public Class AggregateTokenResolver
Inherits SecurityTokenResolver
Inheritance
AggregateTokenResolver

Remarks

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.

Constructors

AggregateTokenResolver(IEnumerable<SecurityTokenResolver>)

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

Properties

TokenResolvers

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

Methods

Equals(Object)

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

(Inherited from Object)
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)
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)
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 retrieve the key that is referenced in the 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 retrieve the security token that matches at least one of the key identifier clauses contained within the specified key identifier.

TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken)

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

Applies to