AggregateTokenResolver 类

定义

表示安全标记解析程序,其可包装多个标记解析程序,并解析所有包装的解析程序的标记。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
继承
AggregateTokenResolver

注解

SecurityTokenResolver对象表示一个实用工具类,该类可以在具有密钥标识符或密钥标识符子句时检索安全令牌或密钥。A SecurityTokenResolver object represents a utility class that can retrieve security tokens or keys when you have a key identifier or key identifier clause. AggregateTokenResolver包装多个 SecurityTokenResolver 对象。The AggregateTokenResolver wraps several SecurityTokenResolver objects. 要包装的标记解析程序在构造函数中指定。The token resolvers to be wrapped are specified in the constructor. TokenResolvers属性返回由聚合解析程序包装的标记解析器的集合。The TokenResolvers property returns the collection of token resolvers that are wrapped by the aggregate resolver.

构造函数

AggregateTokenResolver(IEnumerable<SecurityTokenResolver>)

使用指定的标记列表来初始化 AggregateTokenResolver 类的新实例。Initializes a new instance of the AggregateTokenResolver class by using the specified list of token resolvers.

属性

TokenResolvers

获取实例包装的安全标记解析器。Gets the security token resolvers that are wrapped by this instance.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
LoadCustomConfiguration(XmlNodeList)

在派生类中重写时,将从 XML 中加载自定义配置。When overridden in a derived class, loads custom configuration from XML.

(继承自 SecurityTokenResolver)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ResolveSecurityKey(SecurityKeyIdentifierClause)

获取在指定的密钥标识符子句中引用的密钥。Obtains the key that is referenced in the specified key identifier clause.

(继承自 SecurityTokenResolver)
ResolveToken(SecurityKeyIdentifier)

检索与指定的密钥标识符中包含的安全密钥标识符子句之一相匹配的安全令牌。Retrieves a security token that matches one of the security key identifier clauses contained within the specified key identifier.

(继承自 SecurityTokenResolver)
ResolveToken(SecurityKeyIdentifierClause)

检索与指定的密钥标识符子句相匹配的安全令牌。Retrieves the security token that matches the specified key identifier clause.

(继承自 SecurityTokenResolver)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)
TryResolveSecurityKey(SecurityKeyIdentifierClause, SecurityKey)

尝试检索在指定的密钥标识符子句中引用的密钥。Attempts to retrieve the key that is referenced in the specified key identifier clause.

(继承自 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.

(继承自 SecurityTokenResolver)
TryResolveToken(SecurityKeyIdentifierClause, SecurityToken)

尝试检索与指定的密钥标识符子句相匹配的安全令牌。Attempts to retrieve the security token that matches the specified key identifier clause.

(继承自 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.

适用于